{{ session('success') }}
{{ session('error') }}
Please fix the following:
@endif
{{-- Every uploaded file is served from APP_URL. If it does not match the host the panel
is actually reached on, uploads save fine but come back as dead links (and password
reset mails point at the wrong host too). Silent otherwise, so a correct deploy
never sees this. --}}
@php($configuredHost = parse_url((string) config('app.url'), PHP_URL_HOST))
@if($configuredHost && $configuredHost !== request()->getHost() && auth()->user()?->hasRole('super-admin'))
-
@foreach($errors->all() as $validationMessage)
- {{ $validationMessage }} @endforeach
APP_URL does not match this server.
It is set to
@endif
@yield('content')
{{ config('app.url') }} but you are using
{{ request()->getSchemeAndHttpHost() }}.
Uploaded images will be linked as {{ rtrim(config('app.url'), '/') }}/storage/...
and will not load. Set APP_URL={{ request()->getSchemeAndHttpHost() }} in
.env, then run php artisan config:clear.