Share: sync
This commit is contained in:
parent
8cbd59296e
commit
34a2dcb80a
5 changed files with 36 additions and 28 deletions
|
|
@ -23,14 +23,14 @@ export const api = new sst.cloudflare.Worker("Api", {
|
|||
},
|
||||
})
|
||||
|
||||
//new sst.cloudflare.StaticSite("Web", {
|
||||
// path: "packages/web",
|
||||
// environment: {
|
||||
// VITE_API_URL: api.url,
|
||||
// },
|
||||
// errorPage: "fallback.html",
|
||||
// build: {
|
||||
// command: "bun run build",
|
||||
// output: "dist/client",
|
||||
// },
|
||||
//})
|
||||
new sst.cloudflare.StaticSite("Web", {
|
||||
path: "packages/web",
|
||||
environment: {
|
||||
VITE_API_URL: api.url,
|
||||
},
|
||||
errorPage: "fallback.html",
|
||||
build: {
|
||||
command: "bun run build",
|
||||
output: "dist/client",
|
||||
},
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue