🏡 index : old_projects/url_shortener.git

author yaqubroli <walchuk2018@icloud.com> 2022-12-23 21:08:07.0 -08:00:00
committer yaqubroli <walchuk2018@icloud.com> 2022-12-23 21:08:07.0 -08:00:00
commit
6d2791a9a572e0f48b330d723bf9863ce3929550 [patch]
tree
2fb5a6c08fee5d8743d3c849c75b0c62b0a63e79
parent
ec1095830b579481075cbadebbff3e6dea0e1b7c
download
6d2791a9a572e0f48b330d723bf9863ce3929550.tar.gz

Fixed css, remove unnecessary toml opt, add readme



Diff

 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"