I have two SPAs - site1.domain.com and site2.domain.com - accessing the same Laravel back end application. Each SPA has it's own registration system. When a user receives a verification email I need to change the domain on the URL to match the site that the request has come from.
I have the logic for generating the correct domain but can't see how to tell Laravel to swap it in.
All help greatly appreciated.