Add sentry-trace and baggage to allowed headers

This commit is contained in:
jelveh
2025-08-13 12:38:56 -07:00
parent 4ba2f97da0
commit 2ddce7166f

View File

@@ -627,7 +627,7 @@ class WebServerService extends BaseService {
res.setHeader('Access-Control-Allow-Methods', 'GET, POST, OPTIONS, PUT, PATCH, DELETE');
const allowed_headers = [
"Origin", "X-Requested-With", "Content-Type", "Accept", "Authorization",
"Origin", "X-Requested-With", "Content-Type", "Accept", "Authorization", "sentry-trace", "baggage"
];
// Request headers to allow