0👍
If your provider is running Apache web server, upload to the same directory you uploaded your SPA app the .htaccess file with this content:
<ifModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.html [QSA,L]
</ifModule>
Source:stackexchange.com