show frontpage for debuggnig

This commit is contained in:
q
2025-01-23 11:02:59 +02:00
parent f4bdbed05f
commit d004f3c69d
4 changed files with 81 additions and 5 deletions

View File

@@ -45,7 +45,7 @@ logging.basicConfig(
format=f"[%(asctime)s] [%(levelname)s] %(message)s",
)
__VERSION__ = "20240928.0"
__VERSION__ = "20250123.0"
app = Flask(__name__)
app.config.from_object(__name__)
app.config.from_prefixed_env()
@@ -68,8 +68,10 @@ def log_the_status_code(response):
@app.route("/")
def index():
"""Returns Nothing"""
return "", 200
"""Returns Index"""
return render_template(
"index.html"
)
@app.route('/health.html', methods=["GET",]) # fmt: skip