Skip to content

Commit

Permalink
Omit credentials on cross-origin requests, so that HelpCenter preview…
Browse files Browse the repository at this point in the history
… could still be tested
  • Loading branch information
dsagal committed Jan 20, 2024
1 parent a7a6dfe commit 6e9c857
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion overrides/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@
event: 'ratedHelpCenterArticle',
metadata: {full: {url, rating}},
}),
credentials: 'include',
credentials: 'same-origin',
headers: {
'Content-Type': 'application/json',
'X-Requested-With': 'XMLHttpRequest',
Expand Down

0 comments on commit 6e9c857

Please sign in to comment.