mirror of https://github.com/usbharu/Hideout.git
fix: icon画像のパスを変更
This commit is contained in:
parent
28d592c9d1
commit
6de06a9bde
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue