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) => {