mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +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 server = fasitfy({
|
||||
logger,
|
||||
trustProxy: true
|
||||
trustProxy: true,
|
||||
ignoreTrailingSlash: true,
|
||||
}).withTypeProvider<ZodTypeProvider>();
|
||||
|
||||
server.setValidatorCompiler(validatorCompiler);
|
||||
|
||||
Reference in New Issue
Block a user