diff --git a/config/cors.ts b/config/cors.ts index 1fec715..7e8ce32 100755 --- a/config/cors.ts +++ b/config/cors.ts @@ -44,7 +44,9 @@ const corsConfig: CorsConfig = { | one of the above values. | */ - origin: '*', + origin: (origin => { + return origin.includes('arthurdanjou.fr') + }), /* |--------------------------------------------------------------------------