opensfcc / sfcc-docs

SFCC Docs Engine for sfccdocs.com
https://sfccdocs.com
MIT License
13 stars 2 forks source link

[Bug]: 404 Error on navigating back and forth to a page opened by using the search bar #6

Closed Ritesh-Chandra-Roy closed 1 year ago

Ritesh-Chandra-Roy commented 1 year ago

Issue Checklist:

What happened?

image

Which Browser(s) were you using?

Microsoft Edge

Which Operating System(s) were you using?

Windows

Steps to produce this issue.

Steps to reproduce:-

  1. Search the SFCC Docs for a class or something by pressing CTRL + K.
  2. When the page has loaded, navigate back to the last page.
  3. A 404 Error is expected.
manifestinteractive commented 1 year ago

Hey @Ritesh-Chandra-Roy , thanks for catching this.

100% forgot to set default route on nginx config, so if you started on home page things were fine, but if you tried to access a URL directly, ya, it was not being mapped to the root index.html.

This is now resolved and you can visit a link directly.