Skip to content
This repository has been archived by the owner on Nov 16, 2018. It is now read-only.

Problem with browserHistory #10

Open
sidneysm opened this issue Sep 26, 2016 · 3 comments
Open

Problem with browserHistory #10

sidneysm opened this issue Sep 26, 2016 · 3 comments

Comments

@sidneysm
Copy link

I had a problem whem I put directly 'localhost:8000/login' on my browser, the app make a request to server and server responses 'Pages not foud'. Only works when I click in the navbar link.

Someone else?

@mbrochh
Copy link
Owner

mbrochh commented Oct 3, 2016

Could it be that you need to enter the URL localhost:8000/login/ (note the trailing slash)?

@sidneysm
Copy link
Author

sidneysm commented Oct 3, 2016

I resolve that by using a url r'*' to accept all requenta and rendering my app page.

Bug now I Am having problema when I use F5 on my browser or use the urls directly in the browser.

For exemple, if I stay in localhost:8000/home, press f5 and click home again my urls transform in localhost:8000/home/home, if I click in about transform in localhost:8000/home/about.

I really puser about this, thinking in use hasHistory instead 😔

@sidneysm
Copy link
Author

sidneysm commented Oct 3, 2016

Thanks for your attention

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants