Skip to content

Commit

Permalink
Fix form submission
Browse files Browse the repository at this point in the history
  • Loading branch information
fflorent committed Apr 30, 2024
1 parent 2f0fc6c commit d3d7e02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/gen-server/lib/DocApiForwarder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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']) {
Expand Down

0 comments on commit d3d7e02

Please sign in to comment.