xhr creds

This commit is contained in:
Alexei Stukov 2017-04-30 04:36:23 +03:00 committed by GitHub
parent 93ecab675d
commit fbb0283148
1 changed files with 4 additions and 0 deletions

View File

@ -4382,6 +4382,10 @@ class V2C_PublicServers extends BDV2.reactComponent {
$.ajax({
method: 'GET',
url: `${self.joinEndPoint}/session`,
crossDomain: true,
xhrFields: {
withCredentials: true
},
success: data => {
self.setState({
'selectedCategory': 0,