mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Remove debugging
This commit is contained in:
parent
c9ea622461
commit
57ba9afbfa
1 changed files with 1 additions and 1 deletions
|
|
@ -94,7 +94,7 @@ export const createApp = (): {
|
|||
app.use(json({ limit: '100mb' }))
|
||||
app.use(urlencoded({ limit: '100mb', extended: true }))
|
||||
|
||||
if (env.dev.isLocal) {
|
||||
if (!env.dev.isLocal) {
|
||||
const apiLimiter = rateLimit({
|
||||
windowMs: 60 * 1000, // 1 minute
|
||||
max: 50, // Limit each IP to 10 requests per `window` (here, per minute)
|
||||
|
|
|
|||
Loading…
Reference in a new issue