fixed edge browser not working
This commit is contained in:
parent
4a53161084
commit
df5f39f7b0
@ -26,7 +26,7 @@ func _process_response(response : String) -> void:
|
||||
if (response == ""):
|
||||
print("Empty response. Check if your redirect URL is set to %s." % redirect_url)
|
||||
return
|
||||
var start : int = response.find("?")
|
||||
var start : int = response.substr(0, response.find("\n")).find("?")
|
||||
if (start == -1):
|
||||
send_response("200 OK", "<html><script>window.location = window.location.toString().replace('#','?');</script><head><title>Twitch Login</title></head></html>".to_utf8_buffer())
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user