diff options
Diffstat (limited to 'recipes/pleroma/webview.js')
-rw-r--r-- | recipes/pleroma/webview.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/recipes/pleroma/webview.js b/recipes/pleroma/webview.js index 2ba184e..c7a6530 100644 --- a/recipes/pleroma/webview.js +++ b/recipes/pleroma/webview.js | |||
@@ -15,8 +15,8 @@ const getInstanceConfig = async () => { | |||
15 | ); | 15 | ); |
16 | const pleromaFeConfig = frontendConfig.pleroma_fe || {}; | 16 | const pleromaFeConfig = frontendConfig.pleroma_fe || {}; |
17 | return { ...staticConfig, ...pleromaFeConfig }; | 17 | return { ...staticConfig, ...pleromaFeConfig }; |
18 | } catch (e) { | 18 | } catch (error) { |
19 | console.log('Failed to load dynamic frontend configuration', e); | 19 | console.log('Failed to load dynamic frontend configuration', error); |
20 | return staticConfig; | 20 | return staticConfig; |
21 | } | 21 | } |
22 | }; | 22 | }; |
@@ -161,8 +161,8 @@ module.exports = Ferdi => { | |||
161 | } | 161 | } |
162 | }); | 162 | }); |
163 | }, | 163 | }, |
164 | e => { | 164 | error => { |
165 | console.log('Failed to load instance logo', e); | 165 | console.log('Failed to load instance logo', error); |
166 | Ferdi.loop(getMessages); | 166 | Ferdi.loop(getMessages); |
167 | }, | 167 | }, |
168 | ); | 168 | ); |