This commit is contained in:
zznty
2022-10-06 18:15:49 +07:00
parent 34a75508f3
commit 2c51a2cdea

View File

@@ -54,6 +54,7 @@ public class ApiServerManager : Manager
.WithUrlPrefix(_config.Listener.UrlPrefix)
.WithMicrosoftHttpListener())
.WithLocalSessionManager()
.WithCors("/api", "*", "*", "*")
.WithModule(apiModule
.WithController<ServerController>()
.WithController<SettingsController>()