Skip to content

The open source coding agent.

TypeScript

fix share link

Dax Raada0062d466107
diff --git a/packages/function/src/api.ts b/packages/function/src/api.ts
index 9cb6658ff49..c2e166db78e 100644
--- a/packages/function/src/api.ts
+++ b/packages/function/src/api.ts
@@ -123,7 +123,7 @@ export default {
return new Response(
JSON.stringify({
secret,
- url: "https://dev.opencode.ai/s?id=" + short,
+ url: "https://dev.opencode.ai/s/" + short,
}),
{
headers: { "Content-Type": "application/json" },