mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 04:11:12 +08:00
FIX: Endless spinner when anonymous users navigated to 404s
This commit is contained in:
@ -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, {});
|
||||
});
|
||||
|
Reference in New Issue
Block a user