Open markspolakovs opened 4 years ago
This is still borked, it currently overrides the webstudio stateserver API urls, and often with an older cached version too. Given the RAM issues we were having, I don't think doing this is suitable anywho.
urg - I suspect some tweaking to the regex in b11de69b0a2d6ad14341e7ed14e7271557955ad9 may be needed
WebStudio is currently hosted at
/webstudio
//webstudio-dev
. This poses an issue when we want to intercept NIPSWeb requests, which are to/myradio/NIPSWeb/{secure,managed}_play
. To get this to work we have to scope the service worker to/
(done in 47b3c7ed01293760cb60b52b56fa3d0272a63774), which works, but has two problems:Service-Worker-Allow: /
header, to even let this workConsider possible solutions:
/webstudio/secure_play -> /myradio/NIPSWeb/secure_play
- could work