From aa7848b3ed02e60d1c1f3560510e7eb8652c1179 Mon Sep 17 00:00:00 2001 From: Max Value Date: Thu, 25 Dec 2025 22:27:43 +0000 Subject: [PATCH] added dialer_path --- Makefile | 2 +- dialer.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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) -- 2.39.2