mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-21 11:26:39 +00:00
core: keep Go referral invites recognized at signup
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { Referral } from "@opencode-ai/console-core/referral.js"
|
||||
|
||||
const INVITE_COOKIE = "opencode.go.invite"
|
||||
const INVITE_COOKIE = "oc_referral"
|
||||
const INVITE_MAX_AGE = 60 * 60 * 24 * 30
|
||||
|
||||
export function normalizeInviteCode(code?: string | null) {
|
||||
|
||||
Reference in New Issue
Block a user