From d3d7e02436d5135007f899f6fc8afce6756e948b Mon Sep 17 00:00:00 2001 From: fflorent Date: Tue, 23 Apr 2024 11:58:09 +0200 Subject: [PATCH] Fix form submission --- app/gen-server/lib/DocApiForwarder.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/gen-server/lib/DocApiForwarder.ts b/app/gen-server/lib/DocApiForwarder.ts index e79e2cd7e55..f63f217de21 100644 --- a/app/gen-server/lib/DocApiForwarder.ts +++ b/app/gen-server/lib/DocApiForwarder.ts @@ -104,7 +104,7 @@ export class DocApiForwarder { url.pathname = removeTrailingSlash(docWorkerUrl.pathname) + url.pathname; const headers: {[key: string]: string} = { - ...getTransitiveHeaders(req, { includeOrigin: true }), + ...getTransitiveHeaders(req, { includeOrigin: false }), 'Content-Type': req.get('Content-Type') || 'application/json', }; for (const key of ['X-Sort', 'X-Limit']) {