I have a very simple application with 3 routes.
This is the welcome page
It's URL is
http://ift.tt/2q3RAwp
This is the blog page
It's URL is
http://ift.tt/2q3RAwp
Lastly I have a login page (not shown), and an index (which only redirects to \welcome).
So here's the problem: If I go to
http://ift.tt/2q3KhEL
Then it will redirect to the welcome page as expected. Furthermore, it displays http://ift.tt/2q3RAwp
in my browser URL. However, if I go to
http://ift.tt/2q3RAwp
It does NOT go to the webpage. Instead it returns:
What this means is that I can't access individual routes/pages in my application. In order to get to /login, /welcome, or /posts, I have to get there from the index.
Why is firebase behaving this way? How can I access urls without going to the index first?
Aucun commentaire:
Enregistrer un commentaire