correct /static/config.json decoding

This commit is contained in:
Hakaba Hitoyo 2018-08-26 07:01:56 +09:00
parent 8b9e973a55
commit c6913e3909

View file

@ -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