FIX: JS file Path

This commit is contained in:
Tony Air 2022-06-13 22:10:42 +02:00
parent bd10c36a99
commit d787b36857

View File

@ -37,7 +37,7 @@ class ServiceWorkerController extends Controller {
if($req->param('Action') === 'cachequeue') { if($req->param('Action') === 'cachequeue') {
return json_encode([ return json_encode([
'urls' => [ 'urls' => [
self::join_links(self::BaseUrl(),'app','client','dist','app.js') self::join_links(self::BaseUrl(),'app','client','dist', 'js', 'app.js')
] ]
]); ]);
} }
@ -57,6 +57,7 @@ class ServiceWorkerController extends Controller {
'..', '..',
'client', 'client',
'dist', 'dist',
'js',
'app_sw.js', 'app_sw.js',
]); ]);
} }