mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-08 13:28:27 +00:00
set ignoreTrailingSlash to true in fastify
This commit is contained in:
committed by
Akhil Mohan
parent
6b7b888fb4
commit
65d3038414
@@ -34,7 +34,8 @@ export const main = async ({ db, smtp, logger, queue }: TMain) => {
|
|||||||
const appCfg = getConfig();
|
const appCfg = getConfig();
|
||||||
const server = fasitfy({
|
const server = fasitfy({
|
||||||
logger,
|
logger,
|
||||||
trustProxy: true
|
trustProxy: true,
|
||||||
|
ignoreTrailingSlash: true,
|
||||||
}).withTypeProvider<ZodTypeProvider>();
|
}).withTypeProvider<ZodTypeProvider>();
|
||||||
|
|
||||||
server.setValidatorCompiler(validatorCompiler);
|
server.setValidatorCompiler(validatorCompiler);
|
||||||
|
|||||||
Reference in New Issue
Block a user