mirror of
https://github.com/movie-web/backend.git
synced 2025-09-13 18:13:26 +00:00
allow any domain config setting
This commit is contained in:
@@ -9,6 +9,10 @@ export const configSchema = z.object({
|
||||
// space seperated list of allowed cors domains
|
||||
cors: z.string().default(''),
|
||||
|
||||
// disable cross origin restrictions, allow any site.
|
||||
// overwrites the cors option above
|
||||
allowAnySite: z.coerce.boolean().default(false),
|
||||
|
||||
// should it trust reverse proxy headers? (for ip gathering)
|
||||
trustProxy: z.coerce.boolean().default(false),
|
||||
|
||||
|
Reference in New Issue
Block a user