mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-01 04:40:38 +08:00
添加cookie管理页
This commit is contained in:
@@ -10,6 +10,7 @@ export default ({ app }: { app: Application }) => {
|
||||
app.use(cors());
|
||||
|
||||
app.use(bodyParser.json());
|
||||
app.use(bodyParser.urlencoded({ extended: true }));
|
||||
app.use(
|
||||
jwt({ secret: config.secret as string, algorithms: ['HS384'] }).unless({
|
||||
path: ['/api/auth'],
|
||||
|
||||
Reference in New Issue
Block a user