aboutsummaryrefslogtreecommitdiffstats
path: root/app/Controllers/Http/StaticController.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/Controllers/Http/StaticController.js')
-rw-r--r--app/Controllers/Http/StaticController.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controllers/Http/StaticController.js b/app/Controllers/Http/StaticController.js
index 0c23150..7041e83 100644
--- a/app/Controllers/Http/StaticController.js
+++ b/app/Controllers/Http/StaticController.js
@@ -226,7 +226,7 @@ class StaticController {
226 if (await fs.pathExists(announcement)) { 226 if (await fs.pathExists(announcement)) {
227 return response.download(announcement); 227 return response.download(announcement);
228 } 228 }
229 return response.send({}); 229 return response.send('No announcement found.');
230 } 230 }
231} 231}
232 232