taler-merchant-demos

Python-based Frontends for the Demonstration Web site
Log | Files | Refs | Submodules | README | LICENSE

commit 5ddb8585240828849fb30a397fe94c59c29b9088
parent 46784fce7b47c6ef38807e48bde6edbbbcb06b37
Author: Özgür Kesim <oec@codeblau.de>
Date:   Sun, 20 Apr 2025 13:31:51 +0200

[provision] set the static_url_path to /static

Diffstat:
Mtalermerchantdemos/provision/provision.py | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/talermerchantdemos/provision/provision.py b/talermerchantdemos/provision/provision.py @@ -54,7 +54,10 @@ LOGGER = logging.getLogger(__name__) BASE_DIR = os.path.dirname(os.path.abspath(__file__)) -app = flask.Flask(__name__, template_folder="../templates", static_folder="../static") +app = flask.Flask(__name__, + template_folder="../templates", + static_folder="../static", + static_url_path="") app.wsgi_app = ProxyFix(app.wsgi_app, x_host=1, x_prefix=1) app.debug = True app.secret_key = base64.b64encode(os.urandom(64)).decode("utf-8")