Добавил поля в конфиг

This commit is contained in:
thematdev 2021-01-12 21:40:10 +03:00
parent 7b98e63d37
commit ab6503f7b0
2 changed files with 4 additions and 2 deletions

View File

@ -3,6 +3,8 @@
"server_name": "thematdev.org",
"port": "1488",
"texlink": "tex.thematdev.org",
"texport": "1488"
"texport": "1488",
"host": "127.0.0.1",
"host_port": "1488"
}
}

View File

@ -77,7 +77,7 @@ def texindex():
def main():
app.run('thematdev.org', 1488)
app.run(f"{main_cfg_data['hosts']['host']}", f"{main_cfg_data['hosts']['host_port']}")
if __name__ == '__main__':