登录完成
This commit is contained in:
@@ -34,5 +34,8 @@ module.exports = {
|
||||
cors: {
|
||||
origin: '*',
|
||||
allowMethods: 'GET,HEAD,POST',
|
||||
},
|
||||
validate: {
|
||||
convert: true
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,4 +11,8 @@ module.exports = {
|
||||
enable: true,
|
||||
package: 'egg-cors',
|
||||
},
|
||||
validate: {
|
||||
enable: true,
|
||||
package: 'egg-validate',
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user