fix comment
This commit is contained in:
+1
-3
@@ -44,9 +44,7 @@ async function initializeExpressSync() {
|
||||
const json = express.json({ strict: true, limit: QUERY_LIMIT }); // application/json
|
||||
|
||||
app.set('json spaces', 2); // pretty json
|
||||
|
||||
// for rate limiting
|
||||
app.enable('trust proxy');
|
||||
app.enable('trust proxy'); // trust the X-Forwarded-* headers
|
||||
|
||||
const router = new express.Router();
|
||||
router.del = router.delete; // amend router.del for readability further on
|
||||
|
||||
Reference in New Issue
Block a user