allow multi auth

This commit is contained in:
2026-06-07 14:36:39 +02:00
parent 8000df8bb3
commit 12e3694b76
2 changed files with 26 additions and 15 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ func main() {
}
defer db.Close()
apiHandler := &ApiHandler{db: db}
apiHandler := MakeApiHandler(db)
mux := http.NewServeMux()
mux.Handle("/", http.FileServer(HtmlDir{http.Dir(frontendPath)}))