Skip to content

Commit

Permalink
send credentials when fetching new route (#1371)
Browse files Browse the repository at this point in the history
  • Loading branch information
tpreusse authored and rauchg committed Mar 7, 2017
1 parent e15f060 commit 634a624
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/router/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,7 @@ export default class Router extends EventEmitter {

return fetch(url, {
method: 'GET',
credentials: 'same-origin',
headers: { 'Accept': 'application/json' }
})
}
Expand Down

0 comments on commit 634a624

Please sign in to comment.