Skip to content

Commit

Permalink
Merge pull request #180 from ror-community/404-error
Browse files Browse the repository at this point in the history
redirect 404 to info site
  • Loading branch information
lizkrznarich committed Mar 24, 2023
2 parents 46b65f9 + 9545af3 commit b8c9f41
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/routes/error.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
import Route from '@ember/routing/route';
import ENV from 'ror-app/config/environment';

export default Route.extend({
});
redirect: function() {
window.location.replace(ENV.BASE_URL + "/error");
}
});

0 comments on commit b8c9f41

Please sign in to comment.