remove explicit authorization header
This commit is contained in:
@@ -318,7 +318,7 @@ export default class Router {
|
|||||||
this.corsConfig = {
|
this.corsConfig = {
|
||||||
allowOrigin: config?.allowOrigin || '*',
|
allowOrigin: config?.allowOrigin || '*',
|
||||||
allowMethods: config?.allowMethods || '*',
|
allowMethods: config?.allowMethods || '*',
|
||||||
allowHeaders: config?.allowHeaders || '*, Authorization',
|
allowHeaders: config?.allowHeaders || '*',
|
||||||
maxAge: config?.maxAge || 86400,
|
maxAge: config?.maxAge || 86400,
|
||||||
optionsSuccessStatus: config?.optionsSuccessStatus || 204
|
optionsSuccessStatus: config?.optionsSuccessStatus || 204
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user