save /api/statusnet/config.json connection
This commit is contained in:
parent
a3cc78115c
commit
8b9e973a55
1 changed files with 0 additions and 4 deletions
|
@ -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) => {
|
||||
|
|
Loading…
Reference in a new issue