From bf6236e60bf4dd8eaacd8526c54792e212e877ed Mon Sep 17 00:00:00 2001 From: Nathan Woodburn Date: Sun, 19 May 2024 21:53:10 +1000 Subject: [PATCH] feat: Add podcast home page --- server.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/server.py b/server.py index cc2e357..614abfa 100644 --- a/server.py +++ b/server.py @@ -125,6 +125,11 @@ def nostr(): # Main routes @app.route('/') def index(): + # Check if host if podcast.woodburn.au + if "podcast.woodburn.au" in request.host: + return render_template('podcast.html') + + global address global handshake_scripts try: