mirror of
https://github.com/movie-web/backend.git
synced 2025-09-13 13:03:26 +00:00
@@ -17,6 +17,7 @@ export async function setupFastify(): Promise<FastifyInstance> {
|
|||||||
// create server
|
// create server
|
||||||
const app = Fastify({
|
const app = Fastify({
|
||||||
logger: makeFastifyLogger(log) as any,
|
logger: makeFastifyLogger(log) as any,
|
||||||
|
trustProxy: conf.server.trustProxy,
|
||||||
});
|
});
|
||||||
let exportedApp: FastifyInstance | null = null;
|
let exportedApp: FastifyInstance | null = null;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user