-
Notifications
You must be signed in to change notification settings - Fork 10.7k
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
Elixir PHP function returns wrong absolute path #7304
Comments
You need to set app.url in your config correctly. |
Why |
@eusonlito just use it like that if you need to push absolute pathes: <link href="{{ asset(elixir('css/all.css')) }}" rel="stylesheet" type="text/css">
<script src="{{ asset(elixir('js/all.js')) }}" type="text/javascript"></script> |
@GrahamCampbell the app.url is correct. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My environment route is
http://localhost/example.com/www/public/
and my codeBut elixir function returns
instead of absolute path
The documentation says something like
It's a but or I need to use some extrange hack like
Best regards.
The text was updated successfully, but these errors were encountered: