From fbb0283148fe25ad3358efff79e5aa3fe753688e Mon Sep 17 00:00:00 2001 From: Alexei Stukov Date: Sun, 30 Apr 2017 04:36:23 +0300 Subject: [PATCH] xhr creds --- js/main.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/js/main.js b/js/main.js index 8317f61a..7fa3a6d6 100644 --- a/js/main.js +++ b/js/main.js @@ -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,