You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 23, 2021. It is now read-only.
The origin option is specific to the router methods, and can be either an exact string or a Regexp against which the origin of the Request must match for the route to be used.
According to https://googlechrome.github.io/sw-toolbox/docs/master/tutorial-api.html:
So if I had
We would actually get
origin: {}
.As in https://github.com/GoogleChrome/sw-precache/blob/master/lib/sw-precache.js#L213,
JSON.stringify({origin: /twiter\.com/})
would give us"{"origin":{}}"
The text was updated successfully, but these errors were encountered: