'App\Policies\ModelPolicy', ]; /** * Register any authentication / authorization services. * * @return void */ public function boot() { $this->registerPolicies(); VerifyEmail::toMailUsing(function ($notifiable, $url) { $Url = "http://localhost:8000/api?email_verify_url=".$url; return (new MailMessage) ->subject('Verify Email Address') ->line('Click the button below to verify your email address.') ->action('Verify Email Address', $Url); // ->action('Verify Email Address', $spaUrl); }); } }