diff --git a/docker/dev/Dockerfile b/docker/dev/Dockerfile index 9eb2604..4a48647 100644 --- a/docker/dev/Dockerfile +++ b/docker/dev/Dockerfile @@ -9,7 +9,7 @@ RUN yarn install --pure-lockfile COPY server/ui /app/ui RUN yarn build -FROM rust:1.39 as rust +FROM rust:1.42 as rust # Install musl RUN apt-get update diff --git a/server/service/src/main.rs b/server/service/src/main.rs index 9764af0..20c3734 100644 --- a/server/service/src/main.rs +++ b/server/service/src/main.rs @@ -93,7 +93,7 @@ fn search_query( ) -> Result { let q = query.q.trim(); - if q.is_empty() || q.len() <= 3 { + if q.is_empty() || q.len() < 3 { return Err(format_err!("{{\"error\": \"{}\"}}", "Empty query".to_string())); } diff --git a/server/ui/src/components/navbar.tsx b/server/ui/src/components/navbar.tsx index 0ad77c8..3ee9d03 100644 --- a/server/ui/src/components/navbar.tsx +++ b/server/ui/src/components/navbar.tsx @@ -48,7 +48,7 @@ export class Navbar extends Component {