aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-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 2e424e1..5b8d716 100644
--- a/app/Controllers/Http/StaticController.js
+++ b/app/Controllers/Http/StaticController.js
@@ -234,7 +234,7 @@ class StaticController {
234 if (await fs.pathExists(announcement)) { 234 if (await fs.pathExists(announcement)) {
235 return response.download(announcement); 235 return response.download(announcement);
236 } 236 }
237 return response.send('No announcement found.'); 237 return response.status(404).send('No announcement found.');
238 } 238 }
239} 239}
240 240