correct /static/config.json decoding
This commit is contained in:
parent
8b9e973a55
commit
c6913e3909
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue