mirror of
https://github.com/nikdoof/pocket-id.git
synced 2025-12-14 07:12:19 +00:00
Revert "fix: bad gateway error if nginx reverse proxy is in front"
This reverts commit 590cb02f6c.
This commit is contained in:
@@ -46,11 +46,6 @@ export const handle: Handle = async ({ event, resolve }) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const response = await resolve(event);
|
const response = await resolve(event);
|
||||||
|
|
||||||
// The link header causes nginx reverse proxies to fail because it exceeds the maximum size limits
|
|
||||||
// https://github.com/sveltejs/kit/issues/11084
|
|
||||||
response.headers.delete('link');
|
|
||||||
|
|
||||||
return response;
|
return response;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user