mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-14 21:31:50 +00:00
fix: api routes
This commit is contained in:
parent
5b1dc85d92
commit
9c4534b4ac
1 changed files with 4 additions and 4 deletions
|
@ -28,10 +28,10 @@ app.use(multer().none());
|
||||||
|
|
||||||
const rootRouter = express.Router();
|
const rootRouter = express.Router();
|
||||||
|
|
||||||
initAuth(app);
|
initAuth(rootRouter);
|
||||||
initGuildsAPI(app);
|
initGuildsAPI(rootRouter);
|
||||||
initArchives(app);
|
initArchives(rootRouter);
|
||||||
initDocs(app);
|
initDocs(rootRouter);
|
||||||
|
|
||||||
// Default route
|
// Default route
|
||||||
rootRouter.get("/", (req, res) => {
|
rootRouter.get("/", (req, res) => {
|
||||||
|
|
Loading…
Add table
Reference in a new issue