diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-02-19 15:32:10 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-02-19 15:32:10 +0900 |
| commit | d392da64ab48a6c930d7f523dd9f844b0db2bd0b (patch) | |
| tree | 653e15c8c9bf54a11070df6859dcdbf31d837e37 /src/web/app/common/scripts/api.js | |
| parent | :v: (diff) | |
| download | misskey-d392da64ab48a6c930d7f523dd9f844b0db2bd0b.tar.gz misskey-d392da64ab48a6c930d7f523dd9f844b0db2bd0b.tar.bz2 misskey-d392da64ab48a6c930d7f523dd9f844b0db2bd0b.zip | |
:tada:
Diffstat (limited to 'src/web/app/common/scripts/api.js')
| -rw-r--r-- | src/web/app/common/scripts/api.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/app/common/scripts/api.js b/src/web/app/common/scripts/api.js index 924d697ebc..b549fe47b9 100644 --- a/src/web/app/common/scripts/api.js +++ b/src/web/app/common/scripts/api.js @@ -24,7 +24,7 @@ module.exports = (i, endpoint, data = {}) => { return new Promise((resolve, reject) => { // Send request - fetch(endpoint.indexOf('://') > -1 ? endpoint : `${CONFIG.api.url}/${endpoint}`, { + fetch(endpoint.indexOf('://') > -1 ? endpoint : `${CONFIG.apiUrl}/${endpoint}`, { method: 'POST', body: JSON.stringify(data), credentials: endpoint === 'signin' ? 'include' : 'omit' |