mirror of
https://github.com/andrewkdinh/death-code.git
synced 2024-11-23 22:44:33 -08:00
Domain fix
This commit is contained in:
parent
6a4fb784dc
commit
e6db44dc17
2
main.py
2
main.py
@ -46,7 +46,7 @@ def index():
|
|||||||
print(e)
|
print(e)
|
||||||
return render_template("message.html", message="Invalid data")
|
return render_template("message.html", message="Invalid data")
|
||||||
captcha = captcha_get(ttl = 300)
|
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("/<attempt_num>", methods=["GET", "POST"])
|
@app.route("/<attempt_num>", methods=["GET", "POST"])
|
||||||
def attempt(attempt_num):
|
def attempt(attempt_num):
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
<input type="hidden" name="captcha-id" value="{{ captcha_id }}">
|
<input type="hidden" name="captcha-id" value="{{ captcha_id }}">
|
||||||
<button type="submit">Validate</button>
|
<button type="submit">Validate</button>
|
||||||
</form>
|
</form>
|
||||||
<p>Once you get the value of f(0), go to https://rip.andrewkdinh.com/f(0)</p>
|
<p>Once you get the value of f(0), go to {{ domain }}/f(0)</p>
|
||||||
|
|
||||||
<hr />
|
<hr />
|
||||||
<p>Here's resources with more information (for now, just contact info for others with a coordinate). Password should've been given to you</p>
|
<p>Here's resources with more information (for now, just contact info for others with a coordinate). Password should've been given to you</p>
|
||||||
|
Loading…
Reference in New Issue
Block a user