TheFlyer1983 / facerecognitionbrain_vue

A Vue app of the React App facerecognitionbrain
https://smart-brain-pl.netlify.app/
1 stars 0 forks source link

Clicking refresh in Staging and Prod results in a 404 error. #79

Closed TheFlyer1983 closed 2 years ago

TheFlyer1983 commented 2 years ago

Describe the bug

A redirect file is needed for Netlify.

Because this is a single page application whenever you click refresh on Staging or Production versions of the app, there is a 404 error that it can't find the route. A redirect file is needed so that the route can be found.

To Reproduce

Steps to reproduce the behavior:

  1. Go to 'https://smart-brain-staging-pl.netlify.app/'
  2. Click on click refresh
  3. See error

Expected behavior

Page should refresh and load correctly.

Screenshots

image

TheFlyer1983 commented 2 years ago

Merged into Staging and working.