This commit is contained in:
Dax Raad
2025-05-27 15:20:43 -04:00
parent 07f0fea4bf
commit e98f915fd5
5 changed files with 71 additions and 542 deletions

View File

@@ -52,7 +52,7 @@ export namespace Share {
await state();
}
const URL = "https://api.dev.opencode.ai";
const URL = process.env["OPENCODE_API"] ?? "https://api.dev.opencode.ai";
export async function create(sessionID: string) {
return fetch(`${URL}/share_create`, {
method: "POST",