Commit 67e5f050 authored by Lorex's avatar Lorex

feat: 支援 CORS

parent bc3577e6
......@@ -28,11 +28,12 @@ module.exports.security = {
* *
***************************************************************************/
// cors: {
// allRoutes: false,
// allowOrigins: '*',
// allowCredentials: false,
// },
cors: {
allRoutes: true,
allowOrigins: '*',
allowRequestHeaders: '*',
},
/****************************************************************************
......
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