From d7497218fff50ae3f666e154ad1e57bf7dce023d Mon Sep 17 00:00:00 2001 From: Augusto Gunsch Date: Sun, 23 Jan 2022 10:45:49 -0300 Subject: [PATCH] Remove development trash --- src/main.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main.rs b/src/main.rs index 70d6b2c..1b36f94 100644 --- a/src/main.rs +++ b/src/main.rs @@ -20,8 +20,7 @@ use database::{WordDb, DbError}; const DB_DIR: &str = "/usr/share/inflectived"; const CACHE_DIR: &str = "/var/cache/inflectived"; -//const FRONTEND_DIR: &str = "/opt/inflectived"; -const FRONTEND_DIR: &str = "static"; +const FRONTEND_DIR: &str = "/opt/inflectived"; const MAJOR: i32 = 0; const MINOR: i32 = 1; @@ -85,7 +84,7 @@ async fn main() { } } }, - ("run", matches) => { + ("run", _matches) => { let figment = rocket::Config::figment() .merge(("address", "0.0.0.0"));