Images are not displayed
- Make sure you run the command
php artisan storage:link, - Ensure that the default disk is set to
public, notlocal, - Check that
APP_URLin the.envfile is set correctly.
APP_URL=https://moonshine.test:8080APP_URL=https://moonshine.test:8080
Problems with HTTPS
If you have forms that use URLs with http but expect https:
- Make sure you have a valid SSL certificate,
- In the
TrustProxiesmiddleware, setprotected $proxies = ['*'].
Error "Page not found"
- Check for the presence of
MoonShineServiceProviderinbootstrap/providers.phpor inconfig/app.php. For example, the Apiato package changes its structure, and MoonShine cannot be added as a provider automatically. Add it manually, - Ensure that the resource or page is declared in
MoonShineServiceProvider, - Clear the cache.