This commit is contained in:
Dax Raad
2025-10-14 14:56:21 -04:00
parent 289783f627
commit 61f6091de1
6 changed files with 23 additions and 24 deletions

View File

@@ -67,7 +67,7 @@ export namespace Share {
export const URL =
process.env["OPENCODE_API"] ??
(Installation.isPreview() || Installation.isDev() ? "https://api.dev.opencode.ai" : "https://api.opencode.ai")
(Installation.isPreview() || Installation.isLocal() ? "https://api.dev.opencode.ai" : "https://api.opencode.ai")
export async function create(sessionID: string) {
return fetch(`${URL}/share_create`, {