mirror of
https://github.com/csd4ni3l/grass_touching_captcha.git
synced 2026-01-01 04:23:45 +01:00
fix register not working due to wrong url_for parameter and update README.md for a better solution to easyocr
This commit is contained in:
@@ -126,7 +126,7 @@ submit_button.addEventListener("click", submit)
|
||||
|
||||
function get_challenge() {
|
||||
username_input = document.getElementById("usernameinput")
|
||||
fetch('{{ url_for("generate_challenge") }}', {
|
||||
fetch('{{ url_for("generate_challenge_route") }}', {
|
||||
method: "POST",
|
||||
body: JSON.stringify({username: username_input.value}),
|
||||
headers: {
|
||||
|
||||
Reference in New Issue
Block a user