fix small errors after merge

This commit is contained in:
einhornimmond 2025-04-30 12:52:00 +02:00
parent 9efdf80498
commit 736183c60d
2 changed files with 2 additions and 2 deletions

View File

@ -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'

View File

@ -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)