diff options
| author | Hakaba Hitoyo <example@example.com> | 2018-08-26 07:00:23 +0900 |
|---|---|---|
| committer | Hakaba Hitoyo <example@example.com> | 2018-08-26 07:00:23 +0900 |
| commit | 8b9e973a557ab9c30c677c3ba5e8a966555cc1e9 (patch) | |
| tree | f351e430bc764e00b834969b46adba13e6da0979 /src | |
| parent | a3cc78115ce36d1db7ff6fdad65683ebd28f133c (diff) | |
save /api/statusnet/config.json connection
Diffstat (limited to 'src')
| -rw-r--r-- | src/main.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/main.js b/src/main.js index 8681e960..a988f66c 100644 --- a/src/main.js +++ b/src/main.js @@ -91,11 +91,7 @@ window.fetch('/api/statusnet/config.json') store.dispatch('setOption', { name: 'registrationOpen', value: (registrationClosed === '0') }) store.dispatch('setOption', { name: 'textlimit', value: parseInt(textlimit) }) store.dispatch('setOption', { name: 'server', value: server }) - }) -window.fetch('/api/statusnet/config.json') - .then((res) => res.json()) - .then((data) => { var apiConfig = data.site.pleromafe window.fetch('/static/config.json') .then((data) => { |
