📌  相关文章
📜  反应路由器刷新页面 - Javascript代码示例

📅  最后修改于: 2022-03-11 15:04:25.001000             🧑  作者: Mango

代码示例5
// Add the following to .htaccess file in the public folder
// NOTE: This is for Apache servers!


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