package security import ( "os" ) func BuildResetURL(token string) string { base := os.Getenv("FRONTEND_URL") if base == "" { base = "http://localhost:9000" } return base + "/password-reset/" + token }