Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] 1.2 - AssetMaker respect app.asset_url #552

Merged
merged 3 commits into from
May 12, 2022

Conversation

jaxwilko
Copy link
Member

Simple fix that updates the AssetMaker trait to respect the app.asset_url config value.

@jaxwilko jaxwilko changed the base branch from develop to wip/1.2 May 12, 2022 00:51
@LukeTowers LukeTowers added maintenance PRs that fix bugs, are translation changes or make only minor changes Status: Revision Needed labels May 12, 2022
@LukeTowers LukeTowers added this to the v1.2.0 milestone May 12, 2022
@LukeTowers LukeTowers merged commit 907393a into wip/1.2 May 12, 2022
@LukeTowers LukeTowers deleted the wip/1.2-asset-maker-asset-url branch May 12, 2022 18:52
bennothommo added a commit that referenced this pull request May 25, 2022
#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 #562.
bennothommo added a commit to wintercms/wn-backend-module that referenced this pull request May 26, 2022
wintercms/winter#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 wintercms/winter#562.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance PRs that fix bugs, are translation changes or make only minor changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants