From ccc46172bc6bcfd008e60fcc6584849b9cfbe877 Mon Sep 17 00:00:00 2001 From: Aiirondev Date: Thu, 7 May 2026 18:37:30 +0200 Subject: [PATCH] fix: Update Google verification route to accept alphanumeric tokens --- Website/main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Website/main.py b/Website/main.py index 268de19..19f2e3c 100644 --- a/Website/main.py +++ b/Website/main.py @@ -1632,9 +1632,9 @@ def robots_txt(): ) -@app.route('/google.html') -def google_verification(token: int): - # Serve files named like google1234567890.html from the static/ directory +@app.route('/google.html') +def google_verification(token): + # Serve files named like google.html from the static/ directory filename = f"google{token}.html" path = os.path.join(BASE_DIR, 'static', filename) if os.path.exists(path):