summaryrefslogtreecommitdiffhomepage
path: root/cloud
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2025-08-30 01:06:48 -0400
committerDax Raad <[email protected]>2025-08-30 01:06:48 -0400
commit52b3eddeee0091d72f24b17b9ae61796f54afbe5 (patch)
tree7548a824e4ce725de82ceba3ecc1760b86255700 /cloud
parentf821b555140cc41f68c7c034bb82ae0cb07d7321 (diff)
downloadopencode-52b3eddeee0091d72f24b17b9ae61796f54afbe5.tar.gz
opencode-52b3eddeee0091d72f24b17b9ae61796f54afbe5.zip
ignore: fix dev remote
Diffstat (limited to 'cloud')
-rw-r--r--cloud/app/package.json2
-rw-r--r--cloud/app/src/context/auth.ts1
-rw-r--r--cloud/app/tsconfig.json3
-rw-r--r--cloud/resource/resource.node.ts1
4 files changed, 2 insertions, 5 deletions
diff --git a/cloud/app/package.json b/cloud/app/package.json
index 7e6eaf4b5..cac35a921 100644
--- a/cloud/app/package.json
+++ b/cloud/app/package.json
@@ -3,7 +3,7 @@
"type": "module",
"scripts": {
"dev": "vinxi dev --host 0.0.0.0",
- "dev:remote": "bun sst shell --target=Console --stage=dev bun dev",
+ "dev:remote": "VITE_AUTH_URL=https://auth.dev.opencode.ai bun sst shell --stage=dev bun dev",
"build": "vinxi build",
"start": "vinxi start",
"version": "0.5.28"
diff --git a/cloud/app/src/context/auth.ts b/cloud/app/src/context/auth.ts
index 9a5606a44..5b7d3f54b 100644
--- a/cloud/app/src/context/auth.ts
+++ b/cloud/app/src/context/auth.ts
@@ -17,6 +17,7 @@ export const AuthClient = createClient({
export const getActor = query(async (): Promise<Actor.Info> => {
"use server"
const evt = getRequestEvent()
+ console.log(evt?.request.url)
const url = new URL(evt!.request.headers.get("referer") ?? evt!.request.url)
const auth = await useAuthSession()
const splits = url.pathname.split("/").filter(Boolean)
diff --git a/cloud/app/tsconfig.json b/cloud/app/tsconfig.json
index 2a2352179..2907fdbb3 100644
--- a/cloud/app/tsconfig.json
+++ b/cloud/app/tsconfig.json
@@ -1,9 +1,6 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"compilerOptions": {
- "customConditions": [
- "workers"
- ],
"target": "ESNext",
"module": "ESNext",
"moduleResolution": "bundler",
diff --git a/cloud/resource/resource.node.ts b/cloud/resource/resource.node.ts
index a13102198..d7dbb6c6d 100644
--- a/cloud/resource/resource.node.ts
+++ b/cloud/resource/resource.node.ts
@@ -1,2 +1 @@
-console.log(process.env)
export { Resource } from "sst"