浏览代码

fix for page reloads

rajah 5 月之前
父节点
当前提交
2d379c785f
共有 1 个文件被更改,包括 12 次插入0 次删除
  1. 12 0
      deploy/subfolder/.htaccess

+ 12 - 0
deploy/subfolder/.htaccess

@@ -0,0 +1,12 @@
+<IfModule mod_rewrite.c>
+
+  RewriteEngine On
+
+  RewriteCond %{REQUEST_FILENAME} -s [OR]
+  RewriteCond %{REQUEST_FILENAME} -l [OR]
+  RewriteCond %{REQUEST_FILENAME} -d
+  RewriteRule ^.*$ - [NC,L]
+
+  RewriteRule ^(.*) /demovote/index.html [NC,L]
+
+</IfModule>