diff --git a/control/main.go b/control/main.go index be22307..0475fa5 100644 --- a/control/main.go +++ b/control/main.go @@ -37,6 +37,9 @@ func main() { e := echo.New() + // Allow requests from everywhere + e.Use(middleware.CORS()) + // Serve the embedded SvelteKit frontend e.Use(middleware.StaticWithConfig(middleware.StaticConfig{ Filesystem: http.FS(frontend.BuildDirFS),