Artificial intelligent assistant

Laravelでキューでメール送信するとURLが変わってしまう Laravel 5.1URL URL `php artisan serve`URL` ### private function sendConfirmMail(Mailer $mailer, User $user) { // $mailer->send( $mailer->queue( // <-- 'emails.confirm', ['user' => $user, 'token' => $user->confirmation_token], function($message) use ($user) { $message->to($user->email, $user->name)->subject(''); } ); } ### : emails.confirm <p> {{ $user['name'] }} </p> <p> </p> <p> <a href="{{ url('auth/confirm', [$token]) }}"></a> </p> <p> {{ url('auth/confirm', [$token]) }} </p> ### $mail->send() Hoge URL` ### $mail->queue() Hoge URL`

config/app.phpurl
urlartisanurl

`artisan queue:listen``artisan queue:work`urlurl()url

url


// config/app.php

/*
|--------------------------------------------------------------------------
| Application URL
|--------------------------------------------------------------------------
|
| This URL is used by the console to properly generate URLs when using
| the Artisan command line tool. You should set this to the root of
| your application so that it is used when running Artisan tasks.
|
*/

'url' => '

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 7aa09df17bd9f43152832c5399c9462b