Reputation: 123
This is not finding the assets from the public directory.
I installed laravel in subdirectory like:
how can I fix this?
Upvotes: 0
Views: 2894
Reputation: 233
I had to change ASSET_URL=public to ASSET_URL=/public in my .env file as I had my site in a subfolder
Upvotes: 0
Reputation: 35337
The asset() helper uses the app url. This is defined in .env
.
APP_URL=http://localhost/yourproject
Upvotes: 0