From: Max Value Date: Thu, 25 Dec 2025 22:27:43 +0000 (+0000) Subject: added dialer_path X-Git-Url: https://git.ozva.co.uk/?a=commitdiff_plain;h=aa7848b3ed02e60d1c1f3560510e7eb8652c1179;p=conf-dialer added dialer_path --- diff --git a/Makefile b/Makefile index 3aee85d..77ed429 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ all : .venv/touchfile - .venv/bin/python -m flask --app dialer run + DIALER_PATH=. .venv/bin/python -m flask --app dialer run build : .venv/touchfile .venv/bin/python -m pip install . diff --git a/dialer.py b/dialer.py index 38306f6..ae0b153 100755 --- a/dialer.py +++ b/dialer.py @@ -14,6 +14,7 @@ import json import os app = Flask(__name__) +app.root_path = os.environ["DIALER_PATH"] auth = HTTPBasicAuth() socketio = SocketIO(app)