mirror of
https://github.com/ArthurDanjou/artdanj-api.git
synced 2026-01-26 09:30:27 +01:00
@@ -44,7 +44,9 @@ const corsConfig: CorsConfig = {
|
|||||||
| one of the above values.
|
| one of the above values.
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
origin: 'https://arthurdanjou.fr',
|
origin: (theme) => {
|
||||||
|
return theme.includes('arthurdanjou.fr')
|
||||||
|
},
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user