Skip to content

Commit

Permalink
Update CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
nkshah2 committed Sep 20, 2023
1 parent b93697b commit 054a3d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion supertokens/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ func GetTopLevelDomainForSameSiteResolution(URL string) (string, error) {
_publicSuffix, _ := publicsuffix.PublicSuffix(hostname)

// This check is added because of this issue: https://github.com/supertokens/supertokens-python/issues/394
if strings.HasSuffix(hostname, ".amazonaws.com") && strings.HasSuffix(_publicSuffix, hostname) {
if strings.HasSuffix(hostname, ".amazonaws.com") && _publicSuffix == hostname {
return hostname, nil
}

Expand Down

0 comments on commit 054a3d1

Please sign in to comment.