From 6d2791a9a572e0f48b330d723bf9863ce3929550 Mon Sep 17 00:00:00 2001 From: yaqubroli Date: Fri, 23 Dec 2022 21:08:07 -0800 Subject: [PATCH] Fixed css, remove unnecessary toml opt, add readme --- config_defaults.toml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/config_defaults.toml b/config_defaults.toml index f95cc57..a448458 100644 --- a/config_defaults.toml +++ a/config_defaults.toml @@ -1,9 +1,9 @@ [actix] # For more info, see: https://docs.rs/actix-web/4/actix_web/struct.HttpServer.html. hosts = [ # @ts-ignore - ["0.0.0.0", 9000] # This should work for both development and deployment... + ["127.0.0.1", 4000] # This should work for both development and deployment... # # ... but other entries are possible, as well. ] mode = "development" # Either "development" or "production". @@ -72,13 +72,17 @@ # See the `README.md` file for more details on how to use this. [application.html] -templating = true +template = true +template_index = true +template_static = true +count = true path = "html" +static_path = "static" domain = "localhost:4000" [application.database] -host = "localhost" +host = "7800.io" port = 3306 -username = "root" -password = "password" -database = "database"+username = "rms" +password = "hunter2" +database = "url_shortener"-- rgit 0.1.5