From 80569765686a8a7a3efbe18a6088c4787a3b433e Mon Sep 17 00:00:00 2001 From: HidUser0 Date: Mon, 16 Jan 2023 14:32:03 +0300 Subject: [PATCH] Add ending --- .gitignore | 2 +- instance/config.py | 3 ++- templates/index.html | 2 ++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index e203f42..c70c82a 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,4 @@ __pycache__/ .idea/ storage/ fhost.db -templates/index.html +instance/ diff --git a/instance/config.py b/instance/config.py index 380a8a4..a7c2d90 100755 --- a/instance/config.py +++ b/instance/config.py @@ -23,4 +23,5 @@ FHOST_EXT_OVERRIDE = { "text/x-diff": ".diff", } URL_ALPHABET = "DEQhd2uFteibPwq0SWBInTpA_jcZL5GKz3YCR14Ulk87Jors9vNHgfaOmMXy6Vx-" -B32_ADDRESS = 'apo53zid3xe7rewxjw7whdym2rmyowsj7jeoiwrl5zlmf7oqrxwq.b32.i2p' \ No newline at end of file +B32_ADDRESS = 'apo53zid3xe7rewxjw7whdym2rmyowsj7jeoiwrl5zlmf7oqrxwq.b32.i2p' +ENDING = '''''' \ No newline at end of file diff --git a/templates/index.html b/templates/index.html index 24a6321..b7dc892 100755 --- a/templates/index.html +++ b/templates/index.html @@ -53,4 +53,6 @@ retention = min_age + (-max_age + min_age) * pow((file_size / max_size - 1), 3) {{config["MIN_DAYS"]}} | .................... 0{{ ((config["MAX_CONTENT_LENGTH"]/2)|filesizeformat(True)).split(" ")[0].rjust(27) }}{{ max_size.split(" ")[0].rjust(27) }} {{ max_size.split(" ")[1].rjust(54) }} + +{{ config['ENDING'] }}