solved proxy issue
This commit is contained in:
1 parent
db183d7695
commit
6226c2e9df
1 file changed
+1
-1
+1
-1
@@ -32,7 +32,7 @@ const limiter = rateLimit({
|
|||||||
})
|
})
|
||||||
app.use("/api", limiter)
|
app.use("/api", limiter)
|
||||||
app.use('/api', api);
|
app.use('/api', api);
|
||||||
app.set('trust proxy', 1)
|
app.set('trust proxy', 2)
|
||||||
if(global.config.maintenance) {
|
if(global.config.maintenance) {
|
||||||
console.log(colors.red("[MAINTENANCE]") + " Bot is in maintenance mode.");
|
console.log(colors.red("[MAINTENANCE]") + " Bot is in maintenance mode.");
|
||||||
app.get('/', (req, res) => {
|
app.get('/', (req, res) => {
|
||||||
|
|||||||
Reference in new issue
Block a user