I'm working on a Ember.JS app using
App.Router.reopen({
location: 'hash'
});
Which means that all my URLs are something like these:
The issue:
In a very specific case, the user will try to access my application using:
- http://example.com/abc (yes, without the hash)
My question:
Is it possible to redirect this user from:
to
using the router.js
file or a similar approach such as use .htdocs
in a PHP app to redirect URLs?
Aucun commentaire:
Enregistrer un commentaire