about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUltraQbik <no1skill@yandex.ru>2024-08-27 20:43:02 +0300
committerUltraQbik <no1skill@yandex.ru>2024-08-27 20:43:02 +0300
commit4aaa13f15439c444edccc5bdfe803b3b9c17e6c2 (patch)
tree53cccb2b516dbe74982959ac18fbff682a66c698
parent291b488d06a0a6792f6711e8f8352edf6c1aa961 (diff)
downloadhttpy-4aaa13f15439c444edccc5bdfe803b3b9c17e6c2.tar.gz
httpy-4aaa13f15439c444edccc5bdfe803b3b9c17e6c2.zip
Update parser x3
-rw-r--r--main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.py b/main.py
index 3cfde56..2248baf 100644
--- a/main.py
+++ b/main.py
@@ -289,7 +289,7 @@ class HTTPServer:
 def main():
     path_map = file_man.generate_path_map()
     if not ARGS.dont_compress_path:
-        path_map = file_man.compress_path_map(path_map, path_prefix=ARGS.compressed_path)
+        path_map = file_man.compress_path_map(path_map, path_prefix=ARGS.compressed_path, regen=True)
 
     server = HTTPServer(
         port=ARGS.port,