Scripts are not loaded in production

Hi there! I deployed my site and when I visit the /admin url the scripts are not loaded.
5 Replies
awcodes
awcodes17mo ago
Run a search on here. It’s been discussed before. Basically though it’s a server mis-configuration. You need to tell the server that any assets under livewire or filament need to be served by laravel and not statically.
Alex Manase
Alex ManaseOP17mo ago
Filament
Fix Filament assets not loading in Nginx by Ida Bagus Gede Pramana ...
Filament is a collection of tools for rapidly building beautiful TALL stack apps, designed for humans.
Alex Manase
Alex ManaseOP17mo ago
Like this one? https://discord.com/channels/883083792112300104/1118510253730963517 Someone posted the issue, but it looks like it was not found I did what is said here and it didn't work I have to mention that I don't use a custom nginx config file I use laravel forge
Alex Manase
Alex ManaseOP17mo ago
this is my nginx file if it helps
location / {
try_files $uri $uri/ @octane;
}
location / {
try_files $uri $uri/ @octane;
}
I've added this line because I use Octane @awcodes thank you for your help
Want results from more Discord servers?
Add your server