6

i have a React + Redux app, i want to link to a privacy.html page which is a static html file in the root of the project along side with index.html which is the react app.

The problem is that the link to /privacy.html is caught by the <Route path='*' component={NotFoundView} />

Is there a work around for this?

Israhack
  • 459
  • 1
  • 6
  • 15

1 Answers1

8

Don't use Link for pages outside of your app. Simply use a standard <a> tag.

David L. Walsh
  • 24,097
  • 10
  • 61
  • 46