diff options
| author | Hakaba Hitoyo <example@example.com> | 2018-08-26 07:01:56 +0900 |
|---|---|---|
| committer | Hakaba Hitoyo <example@example.com> | 2018-08-26 07:01:56 +0900 |
| commit | c6913e3909e089225ade7aa4874bd1acbca5a5e4 (patch) | |
| tree | 16f24d5cc829c7b715332b69b9840ec98523e6b0 /src/main.js | |
| parent | 8b9e973a557ab9c30c677c3ba5e8a966555cc1e9 (diff) | |
correct /static/config.json decoding
Diffstat (limited to 'src/main.js')
| -rw-r--r-- | src/main.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.js b/src/main.js index a988f66c..48022c41 100644 --- a/src/main.js +++ b/src/main.js @@ -93,7 +93,9 @@ window.fetch('/api/statusnet/config.json') store.dispatch('setOption', { name: 'server', value: server }) var apiConfig = data.site.pleromafe + window.fetch('/static/config.json') + .then((res) => res.json()) .then((data) => { var staticConfig = data |
