Refactor Docker Compose configuration and enhance email management in settings

This commit is contained in:
Sean Morley
2024-12-07 16:15:41 -05:00
parent 64105808b5
commit 6a00a2ed55
8 changed files with 172 additions and 62 deletions

View File

@@ -79,10 +79,13 @@ async function handleRequest(
}
const responseData = await response.text();
// Create a new Headers object without the 'set-cookie' header
const cleanHeaders = new Headers(response.headers);
cleanHeaders.delete('set-cookie');
return new Response(responseData, {
status: response.status,
headers: response.headers
headers: cleanHeaders
});
} catch (error) {
console.error('Error forwarding request:', error);