- new `app:build` script bakes NEXT_PUBLIC_LMS_API=https://api.rezina.yaltopia.com into the student app; the URL lives in package.json, so nobody sets it by hand - vercel.json runs `app:build`, so a deploy of this branch talks to the API with no dashboard settings - `demo:build` (the hosted artifact demo) is unchanged and keeps demo data: its sandbox blocks calls to outside servers (artifact check: no network attempts) - README: Vercel section updated, including how to build the old in-memory demo
13 lines
280 B
JSON
13 lines
280 B
JSON
{
|
|
"installCommand": "npx -y pnpm@9 install --frozen-lockfile",
|
|
"buildCommand": "npx -y pnpm@9 run app:build",
|
|
"outputDirectory": "apps/demo/out",
|
|
"framework": null,
|
|
"rewrites": [
|
|
{
|
|
"source": "/waitlist",
|
|
"destination": "/waitlist/index.html"
|
|
}
|
|
]
|
|
}
|