Update für Docker und automatischer Build
All checks were successful
release-tag / release-image (push) Successful in 1m45s
All checks were successful
release-tag / release-image (push) Successful in 1m45s
This commit is contained in:
2
main.go
2
main.go
@@ -185,7 +185,7 @@ func generateSessionToken() string {
|
||||
func main() {
|
||||
// Determine DB path and load machines.
|
||||
hashedPassword = hashPassword(password)
|
||||
dbPath = GetENV("DB", "./machines.json")
|
||||
dbPath = GetENV("EW_DB", "/data/machines.json")
|
||||
loadMachines()
|
||||
|
||||
// Save on SIGINT/SIGTERM.
|
||||
|
Reference in New Issue
Block a user