fix linting errors,
group more routes, use mergeParams in router init
This commit is contained in:
1 parent
aae3bb14c0
commit
8acaba3911
9 files changed
+29
-37
No files matched your search
+1
-1
@@ -1,5 +1,5 @@
|
||||
import { Router } from "express";
|
||||
export const router = Router();
|
||||
export const router = Router({ mergeParams: true }); ;
|
||||
|
||||
const domain = global.db.domain;
|
||||
const checkAuth = global.utils.checkAuth;
|
||||
|
||||
Reference in new issue
Block a user