From c5259bf8962dd59546827511f1e5c7a0c8a515c4 Mon Sep 17 00:00:00 2001 From: Taron Date: Tue, 29 Oct 2024 22:19:10 +0400 Subject: [PATCH] change for backend workflow --- server/src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/server/src/index.ts b/server/src/index.ts index dcc41b6fa..cfc433cb8 100644 --- a/server/src/index.ts +++ b/server/src/index.ts @@ -46,6 +46,7 @@ app.use('*', securityHeaders()); // Apply to all routes so avoid commenting this // SETUP CORS app.use('*', async (c, next) => { const CORS_ORIGIN = String(c.env.CORS_ORIGIN); + console.log('SETUP CORS'); const corsMiddleware = cors({ // origin: CORS_ORIGIN, // uncomment this line to enable CORS origin: '*', // temporary