Ben Thomson 805b95b490
Allow decompilation of local assets that match local URL
https://github.com/wintercms/winter/pull/552 introduced a change where all backend assets are converted to URLs to provide support for the `app.asset_url` configuration variable. This change allows asset decompilation to still work by converting a (local) URL back to a relative path. If a URL doesn't match the root URL, then it is passed through as is with no decompilation taking place.

Fixes https://github.com/wintercms/winter/issues/562.
2022-05-25 16:18:55 +08:00
..