mirror of
https://github.com/usbharu/Hideout.git
synced 2026-09-10 03:10:28 +00:00
fix: classloaderの呼び出しを変更2
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 63 KiB After Width: | Height: | Size: 329 KiB |
Reference in New Issue
Block a user