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

Glide image asset URLs when using Multisite #2091

Closed
stevan opened this issue Jul 16, 2020 · 1 comment
Closed

Glide image asset URLs when using Multisite #2091

stevan opened this issue Jul 16, 2020 · 1 comment

Comments

@stevan
Copy link

stevan commented Jul 16, 2020

I have a multi-site setup and when using the glide tag the URL produced is prepended with the multi-site url value, which is not correct. This is the line which prepends the multi-site url value to the Glide URL.

return URL::prependSiteRoot($builder->getUrl($path, $params));

This line can be replaced with this, and everything seems fine.

return $builder->getUrl($path, $params);

Let me know if you need any other details, I can try to dig them up.

@jonassiewertsen
Copy link
Contributor

This PR request would fix your problem:
#1953

It's an duplicate of:
#1304

Please remember fill out the provided bug report. Your actual Statamic version is pretty important, especially in the beta version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants