forked from AkkomaGang/akkoma-fe
correct /static/config.json decoding
This commit is contained in:
parent
8b9e973a55
commit
c6913e3909
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue