This commit is contained in:
Medzik 2021-08-12 19:39:05 +00:00
parent 8ba0bb4f9e
commit dd0d47d166
4 changed files with 5 additions and 7 deletions

7
.gitignore vendored
View File

@ -2,16 +2,13 @@
.env
.cache
# Binaries for programs and plugins
# Binaries
*.exe
*.exe~
*.dll
*.so
*.dylib
*.out
dist/
# Test binary, built with `go test -c`
*.test
# Configs
config.toml

2
.gitpod.Dockerfile vendored
View File

@ -3,5 +3,7 @@ FROM gitpod/workspace-full
# GoReleaser
RUN curl -sfL https://install.goreleaser.com/github.com/goreleaser/goreleaser.sh | sh
RUN sudo mv bin/* /usr/bin/
RUN yarn global add nodemon
RUN echo "export PATH=\$PATH:`yarn global bin`" >> ~/.bashrc

View File

@ -59,8 +59,7 @@ func Status(c *gin.Context) {
"node": json{
"cluster": config.Toml.Cluster.ID,
"node": config.Toml.Cluster.Node,
//"uptime": time.Since(config.StartTime).String(),
"uptime": uptime(),
"uptime": uptime(),
},
})
}