Simulate projects. and assets.scratch.mit.edu using service worker
SheepTester opened this issue · 2 comments
Intercept POST and GET requests and save files to cache
Elsewhere on my website I can have a way to download these from the cache directly
There can be a URL option for a project and asset host (see GUI
's props); the default values can be sw-project
and sw-asset
, and the service worker can then intercept requests to those URLs
Should there be a way to disable this?
See also #14; this also needs to assign psuedo-project IDs for different projects. Idk how this should be done though
https://discord.com/channels/@me/818068592708550696/856540784735027210
Could you please add a Sync Changes option to flags.html and when that is enabled, it will save using the same method as turbowarp (shown below) to save every time you make a change and will also load the project when the project file changes, but will do that in the background so your sprites don't disappear while you're on it? This will let people use github to collaborate on ettiques. It's won't be the best, but it will work.
is this the right issue?