kopia lustrzana https://github.com/cloudflare/wildebeest
change res.body.text() to res.text()
rodzic
1d9775b3aa
commit
e1429629c3
|
@ -52,7 +52,7 @@ export const userLoader = loader$<
|
|||
if (res.status === 302) {
|
||||
throw redirect(302, res.headers.get('location') || '')
|
||||
} else {
|
||||
throw text(res.status, await res.body.text())
|
||||
throw text(res.status, await res.text())
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue