set trust proxy

This commit is contained in:
2025-11-09 13:24:48 +01:00
parent 5f7e7076c0
commit a7e4f8545d
+1
View File
@@ -10,6 +10,7 @@ const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const app = express();
app.set('trust proxy', true);
app.use(morgan("tiny"));
app.use(express.json());
app.use(express.urlencoded({ extended: true }));