chore: generate
This commit is contained in:
@@ -843,9 +843,7 @@ export const RunCommand = effectCmd({
|
|||||||
const headers = new Headers(request.headers)
|
const headers = new Headers(request.headers)
|
||||||
const auth = ServerAuth.header()
|
const auth = ServerAuth.header()
|
||||||
if (auth) headers.set("Authorization", auth)
|
if (auth) headers.set("Authorization", auth)
|
||||||
return Server.Default().app.fetch(
|
return Server.Default().app.fetch(new Request(request, { headers }))
|
||||||
new Request(request, { headers }),
|
|
||||||
)
|
|
||||||
}) as typeof globalThis.fetch
|
}) as typeof globalThis.fetch
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -883,9 +881,7 @@ export const RunCommand = effectCmd({
|
|||||||
const headers = new Headers(request.headers)
|
const headers = new Headers(request.headers)
|
||||||
const auth = ServerAuth.header()
|
const auth = ServerAuth.header()
|
||||||
if (auth) headers.set("Authorization", auth)
|
if (auth) headers.set("Authorization", auth)
|
||||||
return Server.Default().app.fetch(
|
return Server.Default().app.fetch(new Request(request, { headers }))
|
||||||
new Request(request, { headers }),
|
|
||||||
)
|
|
||||||
}) as typeof globalThis.fetch
|
}) as typeof globalThis.fetch
|
||||||
const sdk = createOpencodeClient({
|
const sdk = createOpencodeClient({
|
||||||
baseUrl: "http://opencode.internal",
|
baseUrl: "http://opencode.internal",
|
||||||
|
|||||||
Reference in New Issue
Block a user