вернул ip сервера

This commit is contained in:
2026-02-22 17:32:33 +10:00
parent b396da4c13
commit c89e8d493d
2 changed files with 4 additions and 4 deletions

View File

@@ -379,5 +379,5 @@ def set_settings(settings: sw.Source):
return sw.update_source(settings)
# Запуск сервера для теста
if __name__ == "__main__":
uvicorn.run("main:app", port=8001, reload=True)
# if __name__ == "__main__":
# uvicorn.run("main:app", port=8001, reload=True)

View File

@@ -6,8 +6,8 @@ conn = psycopg2.connect(
dbname="parsed_url",
user="postgres",
password="qwertyqwerty123123",
host="45.129.78.228",
# host="127.0.0.1"
# host="45.129.78.228",
host="127.0.0.1"
)
conn.autocommit = True