File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
webview-ui/src/components/kilocode Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -6,15 +6,13 @@ declare global {
6
6
}
7
7
8
8
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"
11
10
const source = uiKind === "Web" ? "web" : uriScheme
12
11
return `${ baseUrl } /sign-in-to-editor?source=${ source } `
13
12
}
14
13
15
14
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"
18
16
const source = uiKind === "Web" ? "web" : uriScheme
19
17
return `${ baseUrl } /users/sign_up?source=${ source } `
20
18
}
You can’t perform that action at this time.
0 commit comments