From e27cf170ef3930640d582c15169dfb7057b07485 Mon Sep 17 00:00:00 2001 From: 2mal3 <56305732+2mal3@users.noreply.github.com> Date: Sat, 10 Jan 2026 00:35:25 +0100 Subject: [PATCH] fix(control): cors failed --- control/main.go | 3 +++ 1 file changed, 3 insertions(+) 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),