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