#Problem Loading Assets using Herd with Expose

8 messages · Page 1 of 1 (latest)

late jolt
#

I am trying to use Laravel Herd with Expose to share my filament site. The site loads, but for some reason the assets are trying to load over port 8080 instead of 80. Can anyone point me in the right direction of how to solve this? The site loads fine locally, I updated the APP_URL in the .env to the Expose url, but still same behaviour

normal kelpBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

noble widget
#

Tends to work here, run npm run build again

grave topaz
late jolt
#

I set the ASSET_URL, did not work. I also tried changing the environment from local to production and npm build, view:clear. nothing seems to work.

#

it always tries to load individual css and js files over port 8080

opaque reef
#

Try ngrok

late jolt
#

I finally figured out my problem. The ASSET_URL fixed it, however it did not work before because I have another copy of the project in a different one of my Herd paths. it was picking up that project instead of the one i was editing. Thanks everyone for the help.