How do i fix routing problem when deploying laravel with filament

Hello guys i need some help with deploying filament app, so i want to host the Laravel app, so i save the main Laravel app inside public_html/filament then i save the public folder from main laravel app inside public_html/access. but when i do this from what i get from inspect is the laravel app try to access the build and vendor folder from the root public_html folder so i did just that i copy build and assets file to public_html folder but when i try to access the admin panel through login I always met an error that says Object Not Found from apache. so i figure this has to do with routing but i didnt know how to change or modified it so if you guys know anything let me know this is my first real project so thank you very much
1 Reply
toeknee
toeknee6mo ago
Ermm what are you doing. Your filament app should be inside your Laravel app not seperate. Filament resides in it's own directory to allow serving and running along side any existing app. Just ensure your provider sets the path to one that's not in use so 'filament' would suffice if you are using public_html, you need to change the document root to be public and that's it. Then /filament would be the filament app and anything else is your standard app.
Want results from more Discord servers?
Add your server