mirror of
https://github.com/whyour/qinglong.git
synced 2026-12-01 09:45:36 +08:00
修复task_before出错任务中断
This commit is contained in:
1 parent
dd424237e2
commit
cad1d86caf
5 files changed
+62
-26
No files matched your search
@@ -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