Commit c8deda54 authored by 谢永靖's avatar 谢永靖

1

parent 3774b111
Pipeline #36769 passed with stage
in 10 seconds
......@@ -24,6 +24,12 @@ module.exports = appInfo => {
domainWhiteList: [],
};
config.cors = {
origin: '*',
allowMethods: 'GET,HEAD,PUT,POST,DELETE,PATCH,OPTIONS',
credentials: true,
};
config.jwt = {
secret: '51business',
exp: Math.floor(Date.now() / 1000) + 60 * 60 * 24 * 30,
......
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