diff --git a/backend/src/server.ts b/backend/src/server.ts index 04ce604..1c49a1c 100644 --- a/backend/src/server.ts +++ b/backend/src/server.ts @@ -35,7 +35,7 @@ const server = fastify({ // Register Plugins server.register(cors, { - origin: ['https://veridian.runfoo.run', 'http://localhost:5173', 'https://localhost', 'capacitor://localhost'], + origin: true, // Allow all origins to resolve specific Capacitor/WebView mismatches credentials: true, methods: ['GET', 'POST', 'PUT', 'PATCH', 'DELETE', 'OPTIONS'] });