fix linting errors,

group more routes,
use mergeParams in router init
This commit is contained in:
alu committed 2023-07-31 19:23:22 +00:00
1 parent aae3bb14c0
commit 8acaba3911
9 files changed
+29 -37

No files matched your search

+1 -1
View File
@@ -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;