kopia lustrzana https://github.com/cloudflare/wildebeest
fix broken status loader
rodzic
aa0911f7dc
commit
25a6f12bb8
|
@ -20,7 +20,7 @@ export const statusLoader = loader$<
|
|||
const domain = new URL(request.url).hostname
|
||||
let statusText = ''
|
||||
try {
|
||||
const statusResponse = await statusAPI.handleRequest(platform.DATABASE, params.statusId, domain)
|
||||
const statusResponse = await statusAPI.handleRequestGet(platform.DATABASE, params.statusId, domain)
|
||||
statusText = await statusResponse.text()
|
||||
} catch {
|
||||
throw html(500, getErrorHtml('An error occurred whilst retrieving the status data, please try again later'))
|
||||
|
|
Ładowanie…
Reference in New Issue