Setting signInWithOtp Site URL?

I'm trying to do the following, but unable to do so

  const { error } = await supabase.auth.signInWithOtp({
    email,
    options: {
      emailRedirectTo:
        env !== "dev"
          ? "https://v3.example.com"
          : "http://locahost:3000",
    },
  });


How do I set the redirect URL for this subdomain?
Was this page helpful?