mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-05-21 11:03:55 +00:00
Change path for served images to avoid collision with vault images
This commit is contained in:
parent
3160780549
commit
5521a86693
6 changed files with 11 additions and 11 deletions
|
@ -64,7 +64,7 @@ fn alive() -> Json<String> {
|
|||
Json(format_date(&Utc::now().naive_utc()))
|
||||
}
|
||||
|
||||
#[get("/images/<filename>")]
|
||||
#[get("/bwrs_images/<filename>")]
|
||||
fn images(filename: String) -> Result<Content<Vec<u8>>, Error> {
|
||||
let image_type = ContentType::new("image", "png");
|
||||
match filename.as_ref() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue