diff --git a/README.md b/README.md index a896598..d91dc30 100644 --- a/README.md +++ b/README.md @@ -196,4 +196,6 @@ Run the container (podman is used here but docker could be used exactly the same $ podman run --expose 8080 -p=8080:8080 -it pslink-container ./pslink demo -i 0.0.0.0 ``` +On every restart a new container and volume is created. If the service is restarted often those should be dealt with. + Note that this is **absolutely not for a production use** and only for demo purposes as the links are **deleted on every restart**. diff --git a/pslink/src/queries.rs b/pslink/src/queries.rs index e91131a..eeb43b3 100644 --- a/pslink/src/queries.rs +++ b/pslink/src/queries.rs @@ -201,7 +201,7 @@ macro_rules! ts { match $ordering { Ordering::Ascending => "ASC", Ordering::Descending => "DESC", - }; + } }; } diff --git a/shared/src/datatypes.rs b/shared/src/datatypes.rs index 3eb0b41..49a5bb3 100644 --- a/shared/src/datatypes.rs +++ b/shared/src/datatypes.rs @@ -123,6 +123,7 @@ impl Deref for Loadable { #[derive( Debug, Copy, Clone, EnumIter, EnumString, AsRefStr, Eq, PartialEq, Serialize, Deserialize, )] +#[strum(ascii_case_insensitive)] pub enum Lang { #[strum(serialize = "en-US", serialize = "en", serialize = "enUS")] EnUS,