mirror of
https://github.com/discourse/discourse.git
synced 2025-09-08 12:06:51 +08:00
FIX: Endless spinner when anonymous users navigated to 404s
This commit is contained in:
parent
6c7e737294
commit
e54125b5dc
4 changed files with 14 additions and 2 deletions
|
@ -179,6 +179,10 @@ export default function() {
|
|||
return response(403, {});
|
||||
});
|
||||
|
||||
this.get('/t/404.json', () => {
|
||||
return response(404, "not found");
|
||||
});
|
||||
|
||||
this.get('/t/500.json', () => {
|
||||
return response(502, {});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue