summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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",
+ },
+ },
+ },
+ },
+ },
})