fix release mode

This commit is contained in:
2026-02-26 21:16:56 +01:00
parent b7b846dfa7
commit 19434b3fd0
2 changed files with 3 additions and 1 deletions

View File

@@ -25,4 +25,6 @@ COPY templates ./templates
EXPOSE 8080
ENV GIN_MODE=release
CMD ["./server"]

View File

@@ -108,7 +108,7 @@ func ensureAdmin() {
password := os.Getenv("ADMIN_PASSWORD")
if password == "" {
log.Println("WARNING: ADMIN_PASSWORD not set, using default password")
log.Println("MAKING NO ADMIN ACCOUNT")
log.Println("WARNING: MAKING NO ADMIN ACCOUNT")
return
}