📜  React Routing 适用于本地机器,但不适用于 Live 自托管服务器...... - 无论代码示例

📅  最后修改于: 2022-03-11 14:59:52.537000             🧑  作者: Mango

代码示例1
#Add this to your htaccess file and we shall be good to go
Options -MultiViews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.html [QSA,L]