diff --git a/web/src/app.rs b/web/src/app.rs index c15a6ba..0a9cb3d 100644 --- a/web/src/app.rs +++ b/web/src/app.rs @@ -162,7 +162,7 @@ pub fn App() -> impl IntoView { } diff --git a/web/src/lib.rs b/web/src/lib.rs index b0bde30..c2f2af2 100644 --- a/web/src/lib.rs +++ b/web/src/lib.rs @@ -24,6 +24,7 @@ pub const URL_SENSITIVE: &str = "https://cdn.alemi.dev/social/nsfw.png"; pub const DEFAULT_AVATAR_URL: &str = "https://cdn.alemi.dev/social/gradient.png"; pub const NAME: &str = "μ"; pub const DEFAULT_COLOR: &str = "#BF616A"; +pub const VERSION: &str = env!("CARGO_PKG_VERSION"); use std::{ops::Deref, sync::Arc}; use uriproxy::UriClass;