${title}
main
SSH repository access is configured.
${action}${canary}const port = Number(Deno.args[0]); if (!Number.isInteger(port) || port <= 0) throw new Error("port is required"); const canary = Deno.env.get("WEB_UX_FIXTURE_SECRET") ?? ""; console.log(`Authorization: Bearer ${canary}`); Deno.serve({ hostname: "127.0.0.1", port }, (request) => { const url = new URL(request.url); if (url.pathname === "/health") return new Response("ok"); const cookie = request.headers.get("cookie") ?? ""; const owner = cookie.includes("persona=owner"); const title = owner ? "Owner repository settings" : "Repository settings"; const action = owner ? '' : '
Ask a Workspace owner to change repository access.
'; return new Response( `SSH repository access is configured.
${action}${canary}