Signed-off-by: Arthur DANJOU <arthurdanjou@outlook.fr>
This commit is contained in:
2021-07-08 19:51:05 +02:00
parent cea3f81feb
commit 77d2297531

View File

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