Skip to content

Commit 1eaf3ca

Browse files
committed
trash
1 parent d079baf commit 1eaf3ca

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

webview-ui/src/components/kilocode/helpers.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,13 @@ declare global {
66
}
77

88
export function getKiloCodeBackendSignInUrl(uriScheme: string = "vscode", uiKind: string = "Desktop") {
9-
// Check window first (runtime from extension), then process.env (build-time from Vite)
10-
const baseUrl = window.KILOCODE_BASE_URL || process.env.KILOCODE_BASE_URL || "https://kilocode.ai"
9+
const baseUrl = window.KILOCODE_BASE_URL || "https://kilocode.ai"
1110
const source = uiKind === "Web" ? "web" : uriScheme
1211
return `${baseUrl}/sign-in-to-editor?source=${source}`
1312
}
1413

1514
export function getKiloCodeBackendSignUpUrl(uriScheme: string = "vscode", uiKind: string = "Desktop") {
16-
// Check window first (runtime from extension), then process.env (build-time from Vite)
17-
const baseUrl = window.KILOCODE_BASE_URL || process.env.KILOCODE_BASE_URL || "https://kilocode.ai"
15+
const baseUrl = window.KILOCODE_BASE_URL || "https://kilocode.ai"
1816
const source = uiKind === "Web" ? "web" : uriScheme
1917
return `${baseUrl}/users/sign_up?source=${source}`
2018
}

0 commit comments

Comments
 (0)