diff options
| author | Frank <[email protected]> | 2025-08-29 19:34:56 -0400 |
|---|---|---|
| committer | Frank <[email protected]> | 2025-08-29 19:34:58 -0400 |
| commit | c3a25eff78635725472096fe2626021ee50f36b0 (patch) | |
| tree | adecb00a9340d2baea27b3f30f254054810d9490 /cloud/function/src/auth.ts | |
| parent | b40c02e2583c6e35f97849e98f66609e67dac322 (diff) | |
| download | opencode-c3a25eff78635725472096fe2626021ee50f36b0.tar.gz opencode-c3a25eff78635725472096fe2626021ee50f36b0.zip | |
wip: cloud
Diffstat (limited to 'cloud/function/src/auth.ts')
| -rw-r--r-- | cloud/function/src/auth.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cloud/function/src/auth.ts b/cloud/function/src/auth.ts index 5d7c852cb..79d7805de 100644 --- a/cloud/function/src/auth.ts +++ b/cloud/function/src/auth.ts @@ -1,4 +1,3 @@ -import { Resource } from "sst" import { z } from "zod" import { issuer } from "@openauthjs/openauth" import type { Theme } from "@openauthjs/openauth/ui/theme" @@ -10,6 +9,7 @@ import { CloudflareStorage } from "@openauthjs/openauth/storage/cloudflare" import { Account } from "@opencode/cloud-core/account.js" import { Workspace } from "@opencode/cloud-core/workspace.js" import { Actor } from "@opencode/cloud-core/actor.js" +import { Resource } from "@opencode/cloud-core/util/resource.js" type Env = { AuthStorage: KVNamespace @@ -28,8 +28,8 @@ export const subjects = createSubjects({ const MY_THEME: Theme = { ...THEME_OPENAUTH, - logo: "https://opencode.ai/favicon.svg" -}; + logo: "https://opencode.ai/favicon.svg", +} export default { async fetch(request: Request, env: Env, ctx: ExecutionContext) { |
