LivelyKernel / lively4-core

A Self-supporting, Web-based Development Environment
https://lively-kernel.org/lively4/lively4-core/start.html
MIT License
77 stars 25 forks source link

Prevent request modification #278

Closed NHoff95 closed 6 years ago

NHoff95 commented 6 years ago

Please implement an exceptional rule for the service worker to not modify requests to 'https://lively-kernel.org/lively4handwriting'.

NHoff95 commented 6 years ago

I think I found a solution (see /lively4-handwriting/src/external/lively4-serviceworker/src/swx.js)

Is this the way how to do that? if (url.pathname.match(/lively4handwriting/)) return;

davidrauch commented 6 years ago

Yes, that should bypass all Request rewriting and caching

NHoff95 commented 6 years ago

OK, thank you. Then there is nothing more to do 😃