提交 634a6244 编写于 作者: T Thomas Preusse 提交者: Guillermo Rauch

send credentials when fetching new route (#1371)

上级 e15f0607
......@@ -343,6 +343,7 @@ export default class Router extends EventEmitter {
return fetch(url, {
method: 'GET',
credentials: 'same-origin',
headers: { 'Accept': 'application/json' }
})
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册