mirror of
https://github.com/fosrl/pangolin.git
synced 2025-07-02 18:14:56 +02:00
forward headers from server component and make trust_proxy config a number
This commit is contained in:
parent
c043912f94
commit
97ae76e4e7
3 changed files with 12 additions and 4 deletions
|
@ -112,7 +112,7 @@ export const configSchema = z.object({
|
|||
credentials: z.boolean().optional()
|
||||
})
|
||||
.optional(),
|
||||
trust_proxy: z.boolean().optional().default(true),
|
||||
trust_proxy: z.number().int().gte(0).optional().default(1),
|
||||
secret: z
|
||||
.string()
|
||||
.optional()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue