Link to html static page?

I have a React + Redux application, I want a link to the privacy.html page, which is a static html file at the root of the project, along with index.html, which is a reaction application.

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

Is there any work for this?

+4
source share
1 answer

Do not use Linkfor pages outside of your application. Just use the standard tag <a>.

+4
source

Source: https://habr.com/ru/post/1622063/


All Articles