I see in your ngsw-config.json that you have a dataGroups section with what seems to be relative paths: /favorites and /timeline. However, these are API calls to https://pwa-workshop-api.herokuapp.com. Can you explain how this works and why instead of referencing relative routes like the /favicon.ico, it matches a URL like the font URLs? And if such is the case, will it be any different with URLs that require URL parameters? Thanks!
I see in your
ngsw-config.json
that you have adataGroups
section with what seems to be relative paths:/favorites
and/timeline
. However, these are API calls tohttps://pwa-workshop-api.herokuapp.com
. Can you explain how this works and why instead of referencing relative routes like the/favicon.ico
, it matches a URL like the font URLs? And if such is the case, will it be any different with URLs that require URL parameters? Thanks!