Refactor allowedOrigins creation

This commit is contained in:
2025-10-17 00:01:16 +02:00
parent 91c9aba1ab
commit 975b72e89f
2 changed files with 11 additions and 3 deletions

View File

@@ -56,7 +56,7 @@ func main() {
app := handlers.NewApp(db, handlers.NewBroker())
// Create server
srv := NewServer(app, "0.0.0.0:7153", []string{"*"})
srv := NewServer(app, "0.0.0.0:7153", "*")
// Start background cleanup service
go handlers.StartDailyCleanup(app)