mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-22 22:36:06 +08:00
20 lines
346 B
TypeScript
20 lines
346 B
TypeScript
import { Router } from 'express';
|
|
import auth from './auth';
|
|
import env from './env';
|
|
import config from './config';
|
|
import log from './log';
|
|
import cron from './cron';
|
|
import script from './script';
|
|
|
|
export default () => {
|
|
const app = Router();
|
|
auth(app);
|
|
env(app);
|
|
config(app);
|
|
log(app);
|
|
cron(app);
|
|
script(app);
|
|
|
|
return app;
|
|
};
|