mirror of
https://github.com/a2nt/silverstripe-progressivewebapp.git
synced 2024-10-22 11:05:45 +02:00
FIX: JS file Path
This commit is contained in:
parent
bd10c36a99
commit
d787b36857
@ -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',
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user