save /api/statusnet/config.json connection

このコミットが含まれているのは:
Hakaba Hitoyo 2018-08-26 07:00:23 +09:00
コミット 8b9e973a55
1個のファイルの変更0行の追加4行の削除

ファイルの表示

@ -91,11 +91,7 @@ window.fetch('/api/statusnet/config.json')
store.dispatch('setOption', { name: 'registrationOpen', value: (registrationClosed === '0') }) store.dispatch('setOption', { name: 'registrationOpen', value: (registrationClosed === '0') })
store.dispatch('setOption', { name: 'textlimit', value: parseInt(textlimit) }) store.dispatch('setOption', { name: 'textlimit', value: parseInt(textlimit) })
store.dispatch('setOption', { name: 'server', value: server }) store.dispatch('setOption', { name: 'server', value: server })
})
window.fetch('/api/statusnet/config.json')
.then((res) => res.json())
.then((data) => {
var apiConfig = data.site.pleromafe var apiConfig = data.site.pleromafe
window.fetch('/static/config.json') window.fetch('/static/config.json')
.then((data) => { .then((data) => {