Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(auth routing): scene may cause 404 #5488

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

NacedWang
Copy link

When direct to localhost:4200/auth , it shows the login page .
Then click 'Register' to register page . It will cause 404 beacuse the routerLink of login.component.html is '../register' .

Please read and mark the following check list before creating a pull request (check one with "x"):

Short description of what this resolves:

use 'redirectTo' replace 'component'

when direct to /auth , it shows the login page . 
Then click 'Register' to register page . It will cause 404 beacuse the routerLink of login.component.html is '../register' .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant