fix linting errors,
group more routes, use mergeParams in router init
This commit is contained in:
@@ -2,7 +2,7 @@ import { WebSocketServer } from "ws";
|
||||
import * as cookie from "cookie";
|
||||
|
||||
import { Router } from "express";
|
||||
export const router = Router();
|
||||
export const router = Router({ mergeParams: true }); ;
|
||||
|
||||
const requestPVE = global.pve.requestPVE;
|
||||
const checkAuth = global.utils.checkAuth;
|
||||
|
Reference in New Issue
Block a user