Fix custom domain prefix + cookie

Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
Émile Ré
2026-01-15 18:20:48 +04:00
committed by Bryan Frimin
parent 334ca2c932
commit c5cd225d95
5 changed files with 7 additions and 7 deletions

View File

@@ -178,8 +178,7 @@ func (r *mutationResolver) SendMagicLink(ctx context.Context, input types.SendMa
Email: input.Email,
}
if false {
// if customDomain != nil {
if customDomain != nil {
baseURL, err := baseurl.Parse(fmt.Sprintf("https://%s", customDomain.Domain))
if err != nil {
r.logger.ErrorCtx(ctx, "cannot parse custom domain url", log.Error(err))