mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-24 11:14:23 +01:00
stripped
This commit is contained in:
@@ -102,11 +102,13 @@ export namespace LSP {
|
||||
".ctsx",
|
||||
],
|
||||
},
|
||||
/*
|
||||
{
|
||||
id: "golang",
|
||||
command: ["gopls"],
|
||||
extensions: [".go"],
|
||||
},
|
||||
*/
|
||||
];
|
||||
|
||||
export namespace Diagnostic {
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user