diff options
Diffstat (limited to 'app/Controllers/Http/StaticController.js')
-rw-r--r-- | app/Controllers/Http/StaticController.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controllers/Http/StaticController.js b/app/Controllers/Http/StaticController.js index cd3b752..265578f 100644 --- a/app/Controllers/Http/StaticController.js +++ b/app/Controllers/Http/StaticController.js | |||
@@ -272,7 +272,7 @@ class StaticController { | |||
272 | if (await fs.pathExists(announcement)) { | 272 | if (await fs.pathExists(announcement)) { |
273 | return response.download(announcement); | 273 | return response.download(announcement); |
274 | } | 274 | } |
275 | return response.send('No announcement found.'); | 275 | return response.status(404).send('No announcement found.'); |
276 | } | 276 | } |
277 | } | 277 | } |
278 | 278 | ||