diff --git a/cloud/scripts/sst-env.d.ts b/cloud/scripts/sst-env.d.ts new file mode 100644 index 00000000..b6a7e906 --- /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 */ + +/// + +import "sst" +export {} \ No newline at end of file diff --git a/infra/cloud.ts b/infra/cloud.ts index f81e9c45..74690669 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", + }, + }, + }, + }, + }, })