React-router urls don't work when refreshing or writing manually
I'm using React-router and it works fine while I'm clicking on link buttons, but when I refresh my webpage it does not load what I want.
For instance, I am in localhost/joblist
and everything is fine because I arrived here pressing a link. But If I refresh the webpage I get:
<IfModule mod_rewrite.c>
#RewriteEngine On
#RewriteCond %{HTTP_HOST} ^hussklive\.com [NC]
#RewriteRule ^(.*)$ https://www.hussklive.com/$1 [R,L]
Options -MultiViews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.html [QSA,L]
</IfModule>