aboutsummaryrefslogtreecommitdiff
path: root/src/main.js
diff options
context:
space:
mode:
authorHakaba Hitoyo <example@example.com>2018-08-26 07:00:23 +0900
committerHakaba Hitoyo <example@example.com>2018-08-26 07:00:23 +0900
commit8b9e973a557ab9c30c677c3ba5e8a966555cc1e9 (patch)
treef351e430bc764e00b834969b46adba13e6da0979 /src/main.js
parenta3cc78115ce36d1db7ff6fdad65683ebd28f133c (diff)
save /api/statusnet/config.json connection
Diffstat (limited to 'src/main.js')
-rw-r--r--src/main.js4
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) => {