diff options
author | vantezzen <properly@protonmail.com> | 2019-08-25 13:55:15 +0200 |
---|---|---|
committer | vantezzen <properly@protonmail.com> | 2019-08-25 13:55:15 +0200 |
commit | dbdeab00db0a44cd1c252a3bfe4c65ac556af19c (patch) | |
tree | 4df103592d14f943ffc2ccddbf75517df0047305 | |
parent | Fix recipe store bundling of custom recipes (diff) | |
download | ferdium-server-dbdeab00db0a44cd1c252a3bfe4c65ac556af19c.tar.gz ferdium-server-dbdeab00db0a44cd1c252a3bfe4c65ac556af19c.tar.zst ferdium-server-dbdeab00db0a44cd1c252a3bfe4c65ac556af19c.zip |
Fix announcement
-rw-r--r-- | app/Controllers/Http/StaticController.js | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/app/Controllers/Http/StaticController.js b/app/Controllers/Http/StaticController.js index 70f2d7f..17b641f 100644 --- a/app/Controllers/Http/StaticController.js +++ b/app/Controllers/Http/StaticController.js | |||
@@ -214,10 +214,11 @@ class StaticController { | |||
214 | } | 214 | } |
215 | 215 | ||
216 | // Show announcements | 216 | // Show announcements |
217 | announcement({ response, params }) { | 217 | announcement({ |
218 | return response.send({ | 218 | response, |
219 | 'en-US': 'You are using an unofficial Franz Server.' | 219 | params |
220 | }); | 220 | }) { |
221 | return response.send('No announcement found.'); | ||
221 | } | 222 | } |
222 | } | 223 | } |
223 | 224 | ||