From e6db44dc175dae79f54a7f29dd557d69233e51a1 Mon Sep 17 00:00:00 2001 From: Andrew Dinh Date: Tue, 23 Feb 2021 16:52:58 -0800 Subject: [PATCH] Domain fix --- main.py | 2 +- templates/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 6e7cc89..325675f 100755 --- a/main.py +++ b/main.py @@ -46,7 +46,7 @@ def index(): print(e) return render_template("message.html", message="Invalid data") captcha = captcha_get(ttl = 300) - return render_template("index.html", polynomial = POLYNOMIAL, captcha_id = captcha[0], captcha_png = captcha[1]) + return render_template("index.html", polynomial = POLYNOMIAL, domain=DOMAIN, captcha_id = captcha[0], captcha_png = captcha[1]) @app.route("/", methods=["GET", "POST"]) def attempt(attempt_num): diff --git a/templates/index.html b/templates/index.html index 2c9aaf9..f1d96ca 100644 --- a/templates/index.html +++ b/templates/index.html @@ -34,7 +34,7 @@ -

Once you get the value of f(0), go to https://rip.andrewkdinh.com/f(0)

+

Once you get the value of f(0), go to {{ domain }}/f(0)


Here's resources with more information (for now, just contact info for others with a coordinate). Password should've been given to you