Skip to content

Commit 634a624

Browse files
tpreusserauchg
authored andcommitted
send credentials when fetching new route (#1371)
1 parent e15f060 commit 634a624

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/router/router.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,7 @@ export default class Router extends EventEmitter {
343343

344344
return fetch(url, {
345345
method: 'GET',
346+
credentials: 'same-origin',
346347
headers: { 'Accept': 'application/json' }
347348
})
348349
}

0 commit comments

Comments
 (0)