Refactor allowedOrigins creation
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user