aboutsummaryrefslogtreecommitdiff
path: root/src/handlers
diff options
context:
space:
mode:
authorXe Iaso <me@xeiaso.net>2023-03-28 17:57:31 -0400
committerXe Iaso <me@xeiaso.net>2023-03-28 17:57:31 -0400
commit74117d00a44cf863eec1af61152be23118496e7e (patch)
tree14616686ca6cf8fe5a98eff67b25102c19f885bb /src/handlers
parentbc1d1973389697494dfb2a8dafe0581fc12fbff1 (diff)
downloadxesite-74117d00a44cf863eec1af61152be23118496e7e.tar.xz
xesite-74117d00a44cf863eec1af61152be23118496e7e.zip
bump uuid from 0.8.2 to 1.2.2
Replaces #586 Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'src/handlers')
-rw-r--r--src/handlers/feeds.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/handlers/feeds.rs b/src/handlers/feeds.rs
index a0d711f..bc3d861 100644
--- a/src/handlers/feeds.rs
+++ b/src/handlers/feeds.rs
@@ -16,7 +16,7 @@ lazy_static! {
&["kind"]
)
.unwrap();
- pub static ref ETAG: String = format!(r#"W/"{}""#, uuid::Uuid::new_v4().to_simple());
+ pub static ref ETAG: String = format!(r#"W/"{}""#, uuid::Uuid::new_v4().to_string().replace("-", ""));
pub static ref CACHEBUSTER: String = uuid::Uuid::new_v4().to_string().replace("-", "");
}