X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fkotlin%2Fnet%2Fpterodactylus%2Fsone%2Fweb%2Fpages%2FRescuePage.kt;h=be0e4c15f0b1a9cd20873c5467c1b8dc35fc3d79;hp=2ed4940463147535a3db3abedced426a9e3c42ab;hb=aaf780d3c2a6f5ce47295786f3963c8b93f6a145;hpb=16cdb3cc357d30441ddcb13c8841f9928fdb0adb diff --git a/src/main/kotlin/net/pterodactylus/sone/web/pages/RescuePage.kt b/src/main/kotlin/net/pterodactylus/sone/web/pages/RescuePage.kt index 2ed4940..be0e4c1 100644 --- a/src/main/kotlin/net/pterodactylus/sone/web/pages/RescuePage.kt +++ b/src/main/kotlin/net/pterodactylus/sone/web/pages/RescuePage.kt @@ -29,7 +29,7 @@ class RescuePage @Inject constructor(webInterface: WebInterface, loaders: Loader if (soneRequest.parameters["fetch", 8] == "true") { soneRescuer.startNextFetch() } - throw RedirectException("rescue.html") + redirectTo("rescue.html") } }