APP_ENV=Production vs APP_ENV=local

Hello Guys, I have a problem. I developed an app with panels in FilamentPHP and added policies to it, so far so good, the problem arose when taking it to production with Laravel Forge... It turns out that when I try to access it it gives me a 403 Forbidden error, check if it was something with my policies and the problem is not there, check other things and nothing there, until I get to test the .env, and it turns out that when changing the variable
APP_ENV=production
to
APP_ENV=local
the application loads correctly... so it doesn't happen here I understand why this 403 block appears... any idea why it could be? I have another app that I created with Laravel and the .env file has the
APP_ENV=production
and I send the BackOffice without problem, something that does not happen with Laravel and Filamentphp, it gives me problems... any ideas or suggestions?
Was this page helpful?