mirror of
https://github.com/fromchat-messenger/web.git
synced 2026-09-22 19:15:08 +03:00
Implement LiveKit calls
This commit is contained in:
@@ -46,10 +46,12 @@ os.makedirs(FILES_ENCRYPTED_DIR, exist_ok=True)
|
||||
|
||||
|
||||
def _get_file_storage_url() -> str:
|
||||
lan = os.getenv("LAN_IP", "").strip()
|
||||
default_fs = f"http://{lan}:8302" if lan else "http://127.0.0.1:8302"
|
||||
return (
|
||||
os.getenv("FILE_STORAGE_SERVICE_URL")
|
||||
or os.getenv("FILE_STORAGE_URL")
|
||||
or "http://127.0.0.1:8302"
|
||||
or default_fs
|
||||
)
|
||||
|
||||
_SPAM_WINDOW_SECONDS = 45
|
||||
|
||||
Reference in New Issue
Block a user