Compass -> 403 Forbidden
Hi
I get a 403 error when I want to go to Compass from Voyager...
http://127.0.0.1:8000/admin/compass
All other routes are running smoothly.
I can't find compass.php in config.
I have installed Voyager on existing Laravel 6, I see users and messages... dev in progress ;)
Hey,
Ah yes, I just answered the same question here.
This is because Laravel Voyager by default disables the access to Compass when your Laravel App is in production mode (eg. when you've set APP_ENV
to production
in your .env
file).
What you could do is just add the following line in your config/voyager.php
:
'compass_in_production' => true,
That way you will be able to access the compass page as normal!
Hope that this helps!
Best,
Bobby