I am using Angular-11 and Laravel-8 for Staff Signup Project:
Backend:
public function toMail($notifiable)
{
$url = url('auth/signup-activate?token='.$notifiable->activation_token);
return (new MailMessage)
->subject('Confirm your account')
->line('Thanks for signup! Please before you begin, you must confirm your account.')
->action('Confirm Account', url($url))
->line('Thank you for using our application!');
}
My backend (Laravel)api is:
localhost:8888/myapp/server/auth/signup/activate/{token}
While the frontend is:
http://localhost:4200/auth/signup-activate
But when I click on the mail notification received in order to activate, I got:
Error 404: http://localhost:8888/myapp/server/auth/signup-activate?token=ssddss
Where did I miss it and how do I get it corrected?
Thanks