mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
fix(core): Add headers to telemetry cross origin request (#17631)
This commit is contained in:
@@ -8,7 +8,7 @@ export const corsMiddleware: RequestHandler = (req, res, next) => {
|
|||||||
res.header('Access-Control-Allow-Methods', 'GET, POST, OPTIONS, PUT, PATCH, DELETE');
|
res.header('Access-Control-Allow-Methods', 'GET, POST, OPTIONS, PUT, PATCH, DELETE');
|
||||||
res.header(
|
res.header(
|
||||||
'Access-Control-Allow-Headers',
|
'Access-Control-Allow-Headers',
|
||||||
'Origin, X-Requested-With, Content-Type, Accept, push-ref, browser-id',
|
'Origin, X-Requested-With, Content-Type, Accept, push-ref, browser-id, anonymousid, authorization',
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user