Thanks for this… works well and the resulting directory structure is nice and organized.
I’ve got a handful of projects where .glitch-assets
points to urls at cdn.hyperdev.com which has an expired SSL cert. Adding
.replace("https://cdn.hyperdev.com", "https://cdn.glitch.me")
to the “bad url handling” section seems to get me unblocked.
Thanks again