On Refresh React URL tidak berfungsi atau 404 halaman tidak menunjukkan bereaksi

RewriteBase /
RewriteRule ^index\.html$ - [L]
 RewriteCond %{REQUEST_FILENAME} !-f
 RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.html [L]

//include this in .htaccess in root directory
Thankful Tern