Commit 6ae657d4 authored by Lorex's avatar Lorex

release: 修正 CORS 問題

parents f8662666 01933e3d
......@@ -31,7 +31,7 @@ module.exports.security = {
cors: {
allRoutes: true,
allowOrigins: '*',
allowRequestHeaders: '*',
allowRequestHeaders: 'content-type,authorization',
},
......
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