diff --git a/config/cors.ts b/config/cors.ts index ec98b5c..4e45101 100644 --- a/config/cors.ts +++ b/config/cors.ts @@ -20,7 +20,7 @@ const corsConfig: CorsConfig = { | you can define a function to enable/disable it on per request basis as well. | */ - enabled: false, + enabled: true, // You can also use a function that return true or false. // enabled: (request) => request.url().startsWith('/api')