This commit is contained in:
parent
5deb70a0b0
commit
938d5f804c
@ -134,7 +134,7 @@ app.locals.created = 0
|
|||||||
app.locals.updated = 0
|
app.locals.updated = 0
|
||||||
app.disable('x-powered-by')
|
app.disable('x-powered-by')
|
||||||
app.set('json spaces', 2)
|
app.set('json spaces', 2)
|
||||||
app.set('trust proxy', true)
|
app.set('trust proxy', 1)
|
||||||
logger(app)
|
logger(app)
|
||||||
app.use(rateLimit({
|
app.use(rateLimit({
|
||||||
windowMs: 1 * 60 * 1000, // 1 minutes
|
windowMs: 1 * 60 * 1000, // 1 minutes
|
||||||
|
Loading…
Reference in New Issue
Block a user