fix: make prod work?

This commit is contained in:
dusk 2024-08-24 02:36:21 +03:00
parent d87192f48c
commit 6a2bc87618
Signed by: dusk
SSH Key Fingerprint: SHA256:Abmvag+juovVufZTxyWY8KcVgrznxvBjQpJesv071Aw

View File

@ -50,7 +50,9 @@ export const actions = {
post_github: postAction(auth.github, []),
}
export async function load({ url, fetch, cookies }) {
export async function load({ url, fetch, cookies, setHeaders }) {
// hack????
setHeaders({'X-Accel-Buffering': 'no'})
const scopedCookies = scopeCookies(cookies)
var data = {
entries: [] as [number, Entry][],