mirror of
https://github.com/aljazceru/opencode.git
synced 2026-01-06 17:34:58 +01:00
Share: sync
This commit is contained in:
@@ -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",
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user