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:
csd4ni3l
2025-08-12 15:51:15 +02:00
parent 27f379e0ca
commit c5f882c32c
2 changed files with 5 additions and 12 deletions

View File

@@ -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: {