diff --git a/src/main/kotlin/dev/usbharu/hideout/routing/UserRouting.kt b/src/main/kotlin/dev/usbharu/hideout/routing/UserRouting.kt index af03a5fa..d73c8ad0 100644 --- a/src/main/kotlin/dev/usbharu/hideout/routing/UserRouting.kt +++ b/src/main/kotlin/dev/usbharu/hideout/routing/UserRouting.kt @@ -67,7 +67,7 @@ fun Application.user(userService: UserService, activityPubUserService: ActivityP } } get("/{name}/icon.png"){ - call.respondBytes(javaClass.classLoader.getResourceAsStream("icon.png").readAllBytes(),ContentType.Image.PNG) + call.respondBytes(String.javaClass.classLoader.getResourceAsStream("icon.png").readAllBytes(),ContentType.Image.PNG) } } diff --git a/src/main/resources/icon.png b/src/main/resources/icon.png index f563780a..a6554cd7 100644 Binary files a/src/main/resources/icon.png and b/src/main/resources/icon.png differ