Skip to content

Commit 364e4dc

Browse files
authored
Include both .min.js an .js in template for livewire (hestiacp#4798)
1 parent 03eedd9 commit 364e4dc

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

install/deb/templates/web/nginx/php-fpm/laravel.stpl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ server {
5252
expires off;
5353
try_files $uri $uri/ /index.php?$query_string;
5454
}
55+
location = /livewire/livewire.min.js {
56+
expires off;
57+
try_files $uri $uri/ /index.php?$query_string;
58+
}
5559

5660
location ~ [^/]\.php(/|$) {
5761
try_files $uri =404;

install/deb/templates/web/nginx/php-fpm/laravel.tpl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ server {
4343
expires off;
4444
try_files $uri $uri/ /index.php?$query_string;
4545
}
46+
location = /livewire/livewire.min.js {
47+
expires off;
48+
try_files $uri $uri/ /index.php?$query_string;
49+
}
4650

4751
location ~ [^/]\.php(/|$) {
4852
try_files $uri =404;

0 commit comments

Comments
 (0)