From 00589a9af153bad4d8e7f14669c1497443f5221b Mon Sep 17 00:00:00 2001 From: eal Date: Sat, 2 Sep 2017 19:29:45 +0300 Subject: [PATCH] Include cookie in every request --- src/services/api/api.service.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/api/api.service.js b/src/services/api/api.service.js index aad3b40e01..b0e4051894 100644 --- a/src/services/api/api.service.js +++ b/src/services/api/api.service.js @@ -36,7 +36,7 @@ let fetch = (url, options) => { options = options || {} const baseUrl = '' const fullUrl = baseUrl + url - options.credentials = 'same-origin' + options.credentials = 'include' return oldfetch(fullUrl, options) }