-
Notifications
You must be signed in to change notification settings - Fork 26.2k
bug(service-worker): /
path is omitted by ngsw-config
#19945
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
You don't need to add Offtop: @lacolaco, I'm in Tokyo Nov 13-16. My pleasure to meet you and maybe present something at ngJapan meetup! |
Hmm... I changed generated ngsw.json
this project is made by Angular CLI and I added ngsw files. P.S. @webmaxru I want to see you, too! please send email to suguru.inatomi[at]gmail.com about your trip. Let's adjust our schedule :) |
Try to upgrade to RC.6. Most likely it's the same bug as was in #19490 |
I already upgraded to RC.6. (see environments in 1st comment) |
still happening in RC.7 |
Hi @lacolaco, Once your site loads, please open a tab and access the debugging URL Thanks! |
@alxhub Thank you. the below is that.
|
@lacolaco please have that URL open, refresh your app, wait a few seconds and refresh the debug URL. That log indicates a service worker that has never seen a |
@alxhub that's right. there is no log. The weird thing is |
Ahhh, sorry, I had been enabled service worker's
|
|
At 5.0.0 stable, I finally get my offline cache!! I appreciate the team. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
I'm submitting a...
Current behavior
Currently, an index path,
/
, is omitted byngsw-config
command. It was supported asrouting
in old ngsw version.ngsw.base.json
Generated ngsw.json
Expected behavior
/
should be emitted asurls
to cache index.html for offline support.Minimal reproduction of the problem with instructions
What is the motivation / use case for changing the behavior?
I tried to migrate my app to new ngsw with #19795 as a referrence. But
index.html
is never cached.Environment
Angular CLI: 1.5.0-rc.3
Node: 6.11.2
OS: darwin x64
Angular: 5.0.0-rc.6
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router, service-worker
cc/ @alxhub @webmaxru
The text was updated successfully, but these errors were encountered: