kopia lustrzana https://github.com/cloudflare/wildebeest
Merge pull request #209 from cloudflare/fix-broken-status-loader
fix broken status loaderpull/210/head
commit
b690d2557f
|
@ -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