aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/app.py b/app.py
index ce52f216..575f6568 100644
--- a/app.py
+++ b/app.py
@@ -6,6 +6,7 @@ import os
# Snekchek
from flask import Flask
from flask import jsonify
+from flask import redirect
app = Flask(__name__)
@@ -14,8 +15,11 @@ app._secret_key = os.environ.get("WEBPAGE_SECRET_KEY")
@app.route("/")
def _index():
- return "Robots are taking over"
+ return "Robots are taking over. doot."
+def _invite():
+ return redirect("https://invite.pythondiscord.com/")
@app.route("/healthcheck")
def _healthcheck():