mirror of
https://github.com/sst/opencode.git
synced 2025-08-04 13:30:52 +00:00
fix webdomain
This commit is contained in:
parent
a54c5c6298
commit
aeea84a877
2 changed files with 5 additions and 1 deletions
|
@ -9,6 +9,9 @@ const bucket = new sst.cloudflare.Bucket("Bucket")
|
|||
export const api = new sst.cloudflare.Worker("Api", {
|
||||
domain: `api.${domain}`,
|
||||
handler: "packages/function/src/api.ts",
|
||||
environment: {
|
||||
WEB_DOMAIN: domain,
|
||||
},
|
||||
url: true,
|
||||
link: [bucket],
|
||||
transform: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue