#filament v3 assets not loading on production
6 messages · Page 1 of 1 (latest)
Are you building the assets on prod? and changed the APP_ENV to prod?
i have asset error that alpine...js use http and require is https or something like that.
Anybody have nginx config for that?
Doens't sound like a nginx issue. You just need to set the APP_URL or need this in your service provider:
if($this->app->environment('production')) {
URL::forceScheme('https');
}
Add
ASSET_URL=public
in your .env file and run php artisan config:cache