Skip to content
This repository has been archived by the owner on Apr 16, 2023. It is now read-only.

Latest commit

 

History

History
14 lines (9 loc) · 482 Bytes

README.md

File metadata and controls

14 lines (9 loc) · 482 Bytes

websocket-thingy

Команда для запуска: uvicorn app:app --ws-ping-interval=2 --ws-ping-timeout=5 --reload

Для хоста на локальном устройстве необходимо изменить 153 строку файла app.py

"if name == "main": uvicorn.run(app, host = 'https://notifs-api.herokuapp.com', port = 1337)"

на

"if name == "main": uvicorn.run(app, host = 'localhost', port = <ваш порт>)"