瀏覽代碼

add config

axolotle 1 年之前
父節點
當前提交
af0a6568da
共有 1 個文件被更改,包括 8 次插入0 次删除
  1. 8 0
      public/.htaccess

+ 8 - 0
public/.htaccess

@@ -0,0 +1,8 @@
+<IfModule mod_rewrite.c>
+  RewriteEngine On
+  RewriteBase /
+  RewriteRule ^index\.html$ - [L]
+  RewriteCond %{REQUEST_FILENAME} !-f
+  RewriteCond %{REQUEST_FILENAME} !-d
+  RewriteRule . /index.html [L]
+</IfModule>