Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 1dd542ccb1 | |||
| ff1f842e8e | |||
| 26a47e96e0 |
@@ -159,6 +159,8 @@ class FileHandler:
|
||||
value = value.rstrip("/")
|
||||
return value
|
||||
return value
|
||||
if option == "block-ua":
|
||||
return [], []
|
||||
return None
|
||||
|
||||
def read_new_config(self, option, host=None):
|
||||
@@ -583,7 +585,7 @@ class WebServer:
|
||||
|
||||
def main():
|
||||
file_handler = FileHandler()
|
||||
file_handler.check_first_run()
|
||||
# file_handler.check_first_run()
|
||||
file_handler.base_dir = file_handler.read_config("directory")
|
||||
http_port = file_handler.read_config("port") or 8080
|
||||
https_port = file_handler.read_config("port-https") or 8443
|
||||
|
||||
Reference in New Issue
Block a user