fix: icon画像のパスを変更

This commit is contained in:
usbharu 2023-04-01 10:25:37 +09:00
parent 28d592c9d1
commit 6de06a9bde
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ fun Application.user(userService: UserService, activityPubUserService: ActivityP
}
}
get("/{name}/icon.png"){
call.respondBytes(Application::class.java.classLoader.getResourceAsStream("icon.png").readAllBytes())
call.respondBytes(Application::class.java.classLoader.getResourceAsStream("/icon.png").readAllBytes(),ContentType.Image.PNG)
}
}