From 1679045504e2b594fd3bcfd4dbb9f4bb3ccb4825 Mon Sep 17 00:00:00 2001 From: KatKatKateryna Date: Wed, 4 Sep 2024 03:06:01 +0100 Subject: [PATCH] img url --- pygeoapi/flask_app.py | 3 +-- pygeoapi/templates/loading_screen.html | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/pygeoapi/flask_app.py b/pygeoapi/flask_app.py index 455ed66..b6d80c1 100644 --- a/pygeoapi/flask_app.py +++ b/pygeoapi/flask_app.py @@ -214,8 +214,7 @@ def loading_screen(): :returns: HTTP response """ - - content = render_j2_template(api_.tpl_config, 'loading_screen.html',{}) + content = render_j2_template(api_.tpl_config, 'loading_screen.html',{'url': CONFIG["server"]["url"]}) return get_response((request.headers, HTTPStatus.OK, content)) diff --git a/pygeoapi/templates/loading_screen.html b/pygeoapi/templates/loading_screen.html index b9949d0..901532e 100644 --- a/pygeoapi/templates/loading_screen.html +++ b/pygeoapi/templates/loading_screen.html @@ -3,7 +3,7 @@
-Loading data.. +Loading data..

"I'm on my way!"

- your data