Add cors middleware

This commit is contained in:
2025-07-27 19:05:15 +02:00
parent f061a65baf
commit 40d11b12ca
6 changed files with 24 additions and 4 deletions

View File

@@ -32,7 +32,7 @@ func main() {
instanceManager := llamactl.NewInstanceManager(config.Instances)
// Create a new handler with the instance manager
handler := llamactl.NewHandler(instanceManager)
handler := llamactl.NewHandler(instanceManager, config)
// Setup the router with the handler
r := llamactl.SetupRouter(handler)