mirror of https://github.com/usbharu/Hideout.git
fix: classloaderの呼び出しを変更2
This commit is contained in:
parent
46c075bf6d
commit
0062829ffe
|
@ -67,7 +67,7 @@ fun Application.user(userService: UserService, activityPubUserService: ActivityP
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
get("/{name}/icon.png"){
|
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 |
Loading…
Reference in New Issue