diff --git a/index.html b/index.html
index b98a4e4..19cffad 100644
--- a/index.html
+++ b/index.html
@@ -428,7 +428,9 @@
});
}
- fetch('api.config.json').catch(function() { return { json: function() { return Promise.resolve({ apiBase: '' }); }; }; })
+ fetch('api.config.json').catch(function() {
+ return { json: function() { return Promise.resolve({ apiBase: '' }); } };
+ })
.then(function(r) { return typeof r.json === 'function' ? r.json() : Promise.resolve({ apiBase: '' }); })
.then(function(apiConfig) {
API = (apiConfig.apiBase || '').replace(/\/$/, '') + '/api';