Commit b949f7a7 authored by 成旭东's avatar 成旭东

fix

parent 84ce7e32
Pipeline #27884 passed with stage
in 2 minutes 47 seconds
......@@ -33,16 +33,16 @@ export default (appInfo: { name: string; }) => {
config.middleware = [
'errorHandler',
'pagination',
'jwtMiddle',
// 'jwtMiddle',
];
config.jwtMiddle = {
exclude: [
'/api/login',
'/api/upload/**',
'/api/estate/**',
],
};
// config.jwtMiddle = {
// exclude: [
// '/api/login',
// '/api/upload/**',
// '/api/estate/**',
// ],
// };
config.jwt = {
secret: '123456',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment