Skip to content

Commit a2b3f4f

Browse files
committed
fix: fix bug in htaccess
1 parent 654e8c7 commit a2b3f4f

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

controllers/admin/AdminVuefrontAjaxController.php

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,17 @@ public function ajaxProcessVfTurnOn() {
7777
RewriteCond %{REQUEST_URI} !.*/vuefront/_nuxt
7878
RewriteRule ^([^?]*) vuefront/$1
7979
80+
# VueFront sw.js
81+
RewriteCond %{REQUEST_URI} .*(sw.js)
82+
RewriteCond %{REQUEST_URI} !.*/vuefront/sw.js
83+
RewriteRule ^([^?]*) vuefront/$1
84+
85+
# VueFront favicon.ico
86+
RewriteCond %{REQUEST_URI} .*(favicon.ico)
87+
RewriteCond %{REQUEST_URI} !.*/vuefront/favicon.ico
88+
RewriteRule ^([^?]*) vuefront/$1
89+
90+
8091
# VueFront pages
8192
8293
# VueFront home page

0 commit comments

Comments
 (0)