Level 75
Add this to your AppServiceProvider
use Illuminate\Support\Facades\App;
use Illuminate\Support\Facades\URL;
public function boot()
{
if (App::environment('production')) {
URL::forceScheme('https');
}
// other things
}
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
how can i add nova https for links in nova since this error appear
The page at***** was loaded over HTTPS, but requested an insecure stylesheet 'http://theme/theme.css'.
Please or to participate in this conversation.