eugenp / tutorials

Just Announced - "Learn Spring Security OAuth":

Home Page:http://bit.ly/github-lsso

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[ISSUE] Can't reload page in spring-boot-react tutorial

e-senturk opened this issue · comments

Article and Module Links
A link to the affected article and the affected module. You can find the link to the module in the Conclusion section in the "on Github" standard phase.

Describe the Issue
I can run this tutorial and works as I expected however in sub-pages like http://localhost:8080/clients. I cannot enter via url or refresh page. Spring API part overrides react-router.

To Reproduce
Steps to reproduce the behavior:

  1. Start application
  2. Click on 'Clients' button
  3. Refresh page
  4. See Whitelabel Error Page

Expected Behavior
After refreshing page should work as intended

Environment (please complete the following information):

  • OS: [OSX Sonoma 14.5]
  • Browser [Chrome]
  • Chrome Version [125.0.6422.77]