🎉
This commit is contained in:
parent
7609892c1f
commit
d392da64ab
14 changed files with 34 additions and 20 deletions
|
|
@ -17,6 +17,11 @@ require('./common/tags');
|
|||
|
||||
document.domain = CONFIG.host;
|
||||
|
||||
// Set global configration
|
||||
riot.mixin({
|
||||
CONFIG: CONFIG
|
||||
});
|
||||
|
||||
// ↓ iOS待ちPolyfill (SEE: http://caniuse.com/#feat=fetch)
|
||||
require('whatwg-fetch');
|
||||
|
||||
|
|
@ -109,7 +114,7 @@ function fetchme(token, cb) {
|
|||
}
|
||||
|
||||
// Fetch user
|
||||
fetch(CONFIG.api.url + '/i', {
|
||||
fetch(CONFIG.apiUrl + '/i', {
|
||||
method: 'POST',
|
||||
body: JSON.stringify({
|
||||
i: token
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue