添加cookie管理页

This commit is contained in:
whyour committed 2021-03-16 14:46:40 +08:00
1 parent 99a8dc78db
commit 7f7d4d4f24
7 files changed
+279 -59

No files matched your search

+1
View File
@@ -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'],