mirror of
https://github.com/dani-garcia/vaultwarden.wiki.git
synced 2026-10-23 11:58:09 +03:00
Change path for served images to avoid collision with vault images
This commit is contained in:
6 files changed
+11
-11
No files matched your search
+1
-1
@@ -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() {
|
||||
|
||||
Reference in new issue
Block a user