This commit is contained in:
Dax Raad
2025-05-27 15:26:49 -04:00
parent e98f915fd5
commit a9758e0db5
3 changed files with 26 additions and 27 deletions

View File

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