From c6913e3909e089225ade7aa4874bd1acbca5a5e4 Mon Sep 17 00:00:00 2001 From: Hakaba Hitoyo Date: Sun, 26 Aug 2018 07:01:56 +0900 Subject: [PATCH] correct /static/config.json decoding --- src/main.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.js b/src/main.js index a988f66c..48022c41 100644 --- a/src/main.js +++ b/src/main.js @@ -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