v5 - Asset collection wrong URL? #16329
Unanswered
gnikolopoulos
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I might be wrong but before it was using |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi All,
I am upgrading an application from v4.1 to v5.2.1 and I am facing an issue with the asset management. I have code that looks like this in several places so assets are loaded as needed:
In v4 this used to work fine and assets would get added with the correct full URL (app is in a sub-directory) like this:
(app is under
http://example.com/application/
)However, in v5 the output is this:
I can solve this using a prefix, but I am sure the solution is much simpler and I just can't see it. Can anyone point me in the right direction here?
Beta Was this translation helpful? Give feedback.
All reactions