Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
fix: Change CORS allowed origin
Richie McIlroy913d28770649
diff --git a/apps/web/next.config.mjs b/apps/web/next.config.mjsindex a4bb34d20..5a0e11629 100644--- a/apps/web/next.config.mjs+++ b/apps/web/next.config.mjs@@ -81,28 +81,7 @@ const nextConfig = {headers: [{key: "Access-Control-Allow-Origin",- value: "tauri://localhost",- },- {- key: "Access-Control-Allow-Methods",- value: "GET, POST, PUT, DELETE, OPTIONS",- },- {- key: "Access-Control-Allow-Headers",- value: "Content-Type, Authorization",- },- {- key: "Access-Control-Allow-Credentials",- value: "true",- },- ],- },- {- source: "/api/desktop/(.*)",- headers: [- {- key: "Access-Control-Allow-Origin",- value: "http://localhost:3001",+ value: "*",},{key: "Access-Control-Allow-Methods",