I have an react application created using create-react-app.I have included a static html page in public.
I'm want to use that html in the same application using iframe.
The iframe with covid.html is not loading after the build.
-- Public
- covid.html
After the build the iframe url looks like this
<iframe src="/covid.html"/>
which is considering the html file as 'www.mydomain.com/covid'
How do i use the html file in the Iframe in public folder?
I use BrowserRouter.
TIA