Skip to content

Commit

Permalink
fixed edge browser not working
Browse files Browse the repository at this point in the history
  • Loading branch information
issork committed Dec 3, 2023
1 parent 4a53161 commit df5f39f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/gift/auth/grant_flows/implicit_grant_flow.gd
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit df5f39f

Please sign in to comment.