Commit 634a6244 authored by Thomas Preusse's avatar Thomas Preusse Committed by Guillermo Rauch

send credentials when fetching new route (#1371)

parent e15f0607
...@@ -343,6 +343,7 @@ export default class Router extends EventEmitter { ...@@ -343,6 +343,7 @@ export default class Router extends EventEmitter {
return fetch(url, { return fetch(url, {
method: 'GET', method: 'GET',
credentials: 'same-origin',
headers: { 'Accept': 'application/json' } headers: { 'Accept': 'application/json' }
}) })
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment