Skip to content

URL::signedRoute Starts with api. after changing the queue driver to google cloudtask #149

Description

@dumithsalinda

I'm using google app engine for the project. recently changed the queue driver to google cloud task queue. After changing the queue driver, The signed route on my email return the domain starting from api.Domain.com. Which was earlier domain.com

The following code used in the email.

    public function toMail($notifiable)
    {
        $url = URL::signedRoute('activate', [
            'email' => $notifiable->email,
        ]);

        return (new MailMessage)
            ->subject('Activate Your Account')
            ->markdown('mails.auth.activate', [
                'url' => $url,
                'email' => $notifiable->email,
            ]);
      
    }

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions