yaseenkadir / etchedjournal

An encrypted journal where entries are etched in stone.
Apache License 2.0
0 stars 0 forks source link

Reloading a page returns error #69

Closed yaseenkadir closed 5 years ago

yaseenkadir commented 5 years ago

Steps to Reproduce

  1. Build the backend uber jar
  2. Run the jar
  3. Open the home page (should get redirected to login page)
  4. Refresh the page and see that it returns an error message from the backend

We're using the PathLocationStrategy which means that our routes on the frontend are displayed as domain.com/path1/path2. So when we reload the page it sends a request to the backend for /path1/path2 but we don't have that path on the backend.