When exporting to static distribution and hosting through an nginx the SPA routes are not correctly used for routing.
Steps to reproduce.
Build using `yarn build-static
Create docker image docker build -t test-image .
Run container docker run --rm -it -p 3000:80 test-image
Open page and go to a specific experiement
Refresh page
Observe one of two things depending on wether commit 171e152 is applied
a. Observe that a 404 page is shown
b. Immediately after refresh the Home screen is shown briefly before
being redirected to the correct experiment
Expected behavior
The page should reload directly to the selected experiment
When exporting to static distribution and hosting through an nginx the SPA routes are not correctly used for routing.
Steps to reproduce.
docker build -t test-image .
docker run --rm -it -p 3000:80 test-image
Expected behavior
The page should reload directly to the selected experiment