Support Enter to submit login

This commit is contained in:
2026-04-15 11:20:30 +08:00
parent 98666ab1ea
commit 146f05388e
2 changed files with 19 additions and 0 deletions

View File

@@ -24,6 +24,7 @@ func main() {
go func() {
r := api.SetupRouter(srv)
monitor.Infof("API server listening on :8080")
monitor.Infof("Web console listening on :8080/admin")
if err := r.Run(":8080"); err != nil {
monitor.Errorf("Failed to start API server: %v", err)
}