From 52df884b0f1176034aaf66e3fb76f44f4bf8321d Mon Sep 17 00:00:00 2001 From: Robin Universe Date: Mon, 5 Jul 2021 22:30:16 -0500 Subject: [PATCH] Added embed message for blank url --- twitfix.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/twitfix.py b/twitfix.py index bccd79a..79f5f1a 100644 --- a/twitfix.py +++ b/twitfix.py @@ -11,6 +11,10 @@ f = open('links.json',) link_cache = json.load(f) f.close() +@app.route('/') +def default(): + return render_template('default.html', message="TwitFix is an attempt to fix twitter video embeds in discord click this link to be directed to my github page for the project!") + @app.route('/') def twitfix(subpath):