From 6226c2e9df998c84646510000d8e0ea9982efbd4 Mon Sep 17 00:00:00 2001 From: CorwinDev <88144943+CorwinDev@users.noreply.github.com> Date: Wed, 17 Aug 2022 17:17:13 +0200 Subject: [PATCH] solved proxy issue --- website/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/index.js b/website/index.js index efd0fa3..a1363a4 100644 --- a/website/index.js +++ b/website/index.js @@ -32,7 +32,7 @@ const limiter = rateLimit({ }) app.use("/api", limiter) app.use('/api', api); -app.set('trust proxy', 1) +app.set('trust proxy', 2) if(global.config.maintenance) { console.log(colors.red("[MAINTENANCE]") + " Bot is in maintenance mode."); app.get('/', (req, res) => {