mirror of
https://github.com/whyour/qinglong.git
synced 2026-06-30 20:35:09 +08:00
修复task_before出错任务中断
This commit is contained in:
@@ -15,7 +15,7 @@ export default ({ app }: { app: Application }) => {
|
||||
app.use(bodyParser.urlencoded({ limit: '50mb', extended: true }));
|
||||
app.use(
|
||||
jwt({ secret: config.secret as string, algorithms: ['HS384'] }).unless({
|
||||
path: ['/api/login'],
|
||||
path: ['/api/login', '/api/crons/status'],
|
||||
}),
|
||||
);
|
||||
app.use((req, res, next) => {
|
||||
|
||||
Reference in New Issue
Block a user