summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFrank <[email protected]>2025-09-03 13:52:01 -0400
committerFrank <[email protected]>2025-09-03 13:52:01 -0400
commitfefaad6226a541045f5336d5462b1ade468424db (patch)
treeb30a619a480a02c8c292277906ddafab9c71fd35
parent3f9b569575e29368348e38697d9d7c0e65f5462f (diff)
downloadopencode-fefaad6226a541045f5336d5462b1ade468424db.tar.gz
opencode-fefaad6226a541045f5336d5462b1ade468424db.zip
wip cloud smart
-rw-r--r--cloud/scripts/sst-env.d.ts9
-rw-r--r--infra/cloud.ts11
2 files changed, 20 insertions, 0 deletions
diff --git a/cloud/scripts/sst-env.d.ts b/cloud/scripts/sst-env.d.ts
new file mode 100644
index 000000000..b6a7e9066
--- /dev/null
+++ b/cloud/scripts/sst-env.d.ts
@@ -0,0 +1,9 @@
+/* This file is auto-generated by SST. Do not edit. */
+/* tslint:disable */
+/* eslint-disable */
+/* deno-fmt-ignore-file */
+
+/// <reference path="../../sst-env.d.ts" />
+
+import "sst"
+export {} \ No newline at end of file
diff --git a/infra/cloud.ts b/infra/cloud.ts
index f81e9c45a..74690669e 100644
--- a/infra/cloud.ts
+++ b/infra/cloud.ts
@@ -131,4 +131,15 @@ new sst.cloudflare.x.SolidStart("Console", {
//VITE_API_URL: gateway.url.apply((url) => url!),
VITE_AUTH_URL: auth.url.apply((url) => url!),
},
+ transform: {
+ server: {
+ transform: {
+ worker: {
+ placement: {
+ mode: "smart",
+ },
+ },
+ },
+ },
+ },
})