app->runningInConsole()) { return; } View::composer('*', function (ContractsView $view) { $view->with('csp_nonce', Vite::cspNonce()); }); } }