Signed-off-by: Arthur DANJOU <arthurdanjou@outlook.fr>
This commit is contained in:
2021-07-09 11:56:49 +02:00
parent 77d2297531
commit 68a8876032

View File

@@ -44,9 +44,7 @@ const corsConfig: CorsConfig = {
| one of the above values. | one of the above values.
| |
*/ */
origin: (origin => { origin: '*',
return origin.includes('arthurdanjou.fr')
}),
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------