going prod step-by-step

This commit is contained in:
2025-10-15 14:11:23 +03:00
parent 529dd0460d
commit b60de5f97c
5 changed files with 477 additions and 2 deletions

View File

@@ -23,6 +23,7 @@ func NewRouter(cfg *config.Config, userMgr *user.Manager, deployMgr *deploy.Mana
mux.Handle("DELETE /api/v1/auth", adminAuth(http.HandlerFunc(server.handleAuthDelete)))
mux.Handle("POST /api/v1/deploy", userAuth(maxBytes(http.HandlerFunc(server.handleDeploy))))
mux.HandleFunc("GET /api/v1/status", server.handleStatus)
mux.HandleFunc("GET /api/hello", server.handleHello)
return LoggingMiddleware(logger)(mux)
}