404 Error when App is on Web Server and browser refresh is done

Hi,

I have placed my app on a web server, and I am getting a 404 error. I have been told this might be related to not having a .htaccess file. Could someone advise me on this issue?

1 Like

@JessieRoss
Thanks

So i place the following code

RewriteEngine On
RewriteBase /
RewriteRule ^(.*)$ /index.html [L]

in .htaccess file in my folder \src\app

Is this correct?