mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
fix small errors after merge
This commit is contained in:
parent
9efdf80498
commit
736183c60d
@ -2,8 +2,8 @@
|
||||
/* eslint-disable @typescript-eslint/explicit-module-boundary-types */
|
||||
import DHT from '@hyperswarm/dht'
|
||||
import {
|
||||
Community as DbCommunity,
|
||||
CommunityLoggingView,
|
||||
Community as DbCommunity,
|
||||
FederatedCommunity as DbFederatedCommunity,
|
||||
} from 'database'
|
||||
import { v4 as uuidv4 } from 'uuid'
|
||||
|
||||
@ -81,7 +81,7 @@ export const createServer = async (
|
||||
*
|
||||
* and so on. After 1 seconds, the delay is reset to 0.
|
||||
*/
|
||||
}) as RequestHandler
|
||||
})
|
||||
app.use(limiter)
|
||||
// because of nginx proxy, needed for limiter
|
||||
app.set('trust proxy', 1)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user