GoogleChromeLabs / sw-toolbox

[Deprecated] A collection of service worker tools for offlining runtime requests
https://developers.google.com/web/tools/workbox/guides/migrations/migrate-from-sw
Apache License 2.0
3.62k stars 331 forks source link

chrome-extension requests shouldn't trigger the default route #191

Closed jeffposnick closed 8 years ago

jeffposnick commented 8 years ago

R: @addyosmani @gauntface

Explicitly check to make sure that the request URL starts with 'http' before triggering the default route.

Fixes #171

gauntface commented 8 years ago

LGTM