X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fkotlin%2Fnet%2Fpterodactylus%2Fsone%2Fweb%2Fpages%2FGetImagePage.kt;h=196b0b4fa3d136dd1344e8616aaafa78869d0427;hb=1557106d0e373f7efc15faed65f69eb567613a45;hp=932827e683dd57fad2cc493f54b327b47507650d;hpb=626a2e839efe6c5c912bc6efa1a0cc6c9c8576c2;p=Sone.git diff --git a/src/main/kotlin/net/pterodactylus/sone/web/pages/GetImagePage.kt b/src/main/kotlin/net/pterodactylus/sone/web/pages/GetImagePage.kt index 932827e..196b0b4 100644 --- a/src/main/kotlin/net/pterodactylus/sone/web/pages/GetImagePage.kt +++ b/src/main/kotlin/net/pterodactylus/sone/web/pages/GetImagePage.kt @@ -5,11 +5,12 @@ import net.pterodactylus.sone.web.page.FreenetPage import net.pterodactylus.sone.web.page.FreenetRequest import net.pterodactylus.util.web.Response import java.net.URI +import javax.inject.Inject /** * Page that delivers a {@link TemporaryImage} to the browser. */ -class GetImagePage(webInterface: WebInterface): FreenetPage { +class GetImagePage @Inject constructor(webInterface: WebInterface): FreenetPage { private val core = webInterface.core