mirror of
https://github.com/nestriness/nestri.git
synced 2025-12-12 08:45:38 +02:00
25 lines
627 B
TypeScript
25 lines
627 B
TypeScript
// This is the website part where people play and connect
|
|
import { api } from "./api";
|
|
import { cdn } from "./cdn";
|
|
import { auth } from "./auth";
|
|
import { zero } from "./zero";
|
|
import { domain } from "./dns";
|
|
|
|
new sst.aws.StaticSite("Web", {
|
|
path: "packages/www",
|
|
build: {
|
|
output: "./dist",
|
|
command: "bun run build",
|
|
},
|
|
domain: {
|
|
dns: sst.cloudflare.dns(),
|
|
name: "console." + domain
|
|
},
|
|
environment: {
|
|
VITE_API_URL: api.url,
|
|
VITE_CDN_URL: cdn.url,
|
|
VITE_STAGE: $app.stage,
|
|
VITE_AUTH_URL: auth.url,
|
|
VITE_ZERO_URL: zero.url,
|
|
},
|
|
}) |