Home > Blockchain >  Vue js can't find page when deployed on firebase
Vue js can't find page when deployed on firebase

Time:05-10

I'm building a stupid web app to do something funny with my friends. I'm using firebase hosting service and discord oauth2. The problem occurs when trying to access "/login" page by typing it on the url or after pressing "authorize" on the discord link. You can try it here: Landing page

This is the "bugged" page, the one that you can only reach via the previous page Discord login page

If you try to access the page by looking for the url enter image description here

and that's what being shown in the page.

the "/login" is fake, and is pushed in through enter image description here

and by the way, even if it did exist, it's legit to only serve it to POST requests (so 404 will return if someone tries to access it via GET.)

CodePudding user response:

removing mode: 'history' from the router config solved my issue but i don't know if it is a good solution

  • Related