eugenp/tutorials

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

e-senturk opened this issue · 1 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]