mirror of
https://github.com/usbharu/Hideout.git
synced 2026-09-11 11:43:45 +00:00
feat: iconを返すように
This commit is contained in:
@@ -66,6 +66,9 @@ fun Application.user(userService: UserService, activityPubUserService: ActivityP
|
||||
"hello $name !!"
|
||||
}
|
||||
}
|
||||
get("/{name}/icon.png"){
|
||||
call.respondBytes(Application::class.java.classLoader.getResourceAsStream("icon.png").readAllBytes())
|
||||
}
|
||||
}
|
||||
|
||||
authenticate(tokenAuth) {
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 63 KiB |
Reference in New Issue
Block a user