x1ongzhu 1 년 전
부모
커밋
33c3d221a7
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      app.mjs

+ 1 - 0
app.mjs

@@ -12,6 +12,7 @@ const __filename = fileURLToPath(import.meta.url);
 const __dirname = dirname(__filename);
 
 const fastify = Fastify({
+    trustProxy: true,
     logger: {
         level: "error",
     },