mirror of
https://github.com/versia-pub/activitypub.git
synced 2026-03-13 02:49:17 +01:00
add favicon
This commit is contained in:
parent
c47575eb8d
commit
14e4402e7a
4 changed files with 42 additions and 0 deletions
|
|
@ -132,6 +132,11 @@ async fn post_manually(
|
|||
Ok(HttpResponse::Ok().json(Response { health: true }))
|
||||
}
|
||||
|
||||
#[get("/favicon")]
|
||||
async fn favicon() -> actix_web::Result<actix_files::NamedFile> {
|
||||
Ok(actix_files::NamedFile::open("static/favicon.ico")?)
|
||||
}
|
||||
|
||||
#[get("/test/follow/{user}")]
|
||||
async fn follow_manually(
|
||||
path: web::Path<String>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue