From 8b8e2c3ccd08ccb9a0f24d396245a6a7c7290ba2 Mon Sep 17 00:00:00 2001 From: lin1er Date: Mon, 28 Sep 2026 20:59:44 +0700 Subject: [PATCH] docs(STE-23): the landing is live at sterish.xyz, and /landing is gone MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The split in #66 described the Vercel setup as something to do; this records what now exists. Two projects linked to this one repo — `sterish-landing` with root directory `landing/` holding `sterish.xyz` and `www.sterish.xyz`, and `sterish` with `frontend/` holding `app.sterish.xyz` — with both project ids written down so the next person does not have to guess which project a domain sits on. `www` now redirects to the apex rather than the other way round, because every document, the report and the X bio say `sterish.xyz`, and a brand URL that 308s to a different hostname is a URL nobody can quote. States the consequence the split left implicit: `app.sterish.xyz/landing` is a 404 now, so links shared before today — including in the Instawards report — have to move to the apex. Checked live rather than assumed: the apex serves the landing with its logo, no wallet button and the registry row read from api.sterish.xyz; www 308s to it; the dashboard and /check are untouched. --- docs/deployments.md | 28 +++++++++++++++++++++++----- 1 file changed, 23 insertions(+), 5 deletions(-) diff --git a/docs/deployments.md b/docs/deployments.md index 286a01e..126e429 100644 --- a/docs/deployments.md +++ b/docs/deployments.md @@ -22,14 +22,15 @@ address has not changed and is the same contract it always was — see --- -## Public URLs (checked 24 September 2026) +## Public URLs (checked 28 September 2026) | What | URL | Served by | Notes | |---|---|---|---| | **API** | **https://api.sterish.xyz** | VPS `187.53.142.100` via Cloudflare Tunnel (STE-54) | Canonical. `REPORT_BASE_URL`, the x402 `resource.url` and the STE-48 `challenge_url` all use it | | API (alias) | https://api-sterish.jameshub.fun | same stack, same tunnel | Kept so anything already pointing at it keeps working | | **Dashboard** | **https://app.sterish.xyz** | Vercel | Public since 24 September; renders live registry data and calls the API at `api.sterish.xyz` | -| **Landing** | **https://sterish.xyz** | Vercel, **root directory `landing/`** | Its own deployment and its own pnpm project, separate from the dashboard (STE-23) | +| **Landing** | **https://sterish.xyz** | Vercel project `sterish-landing`, root directory `landing/` | Live since 28 September. Its own deployment and its own pnpm project, separate from the dashboard (STE-23) | +| Landing (www) | https://www.sterish.xyz | same project | **308 to the apex.** Every document, the report and the X bio say `sterish.xyz`, so that is the one that serves | The API allows any origin (`api-spec.md` §6): everything it serves is public ledger data, so the dashboard moving hostnames needs no change on the API side. @@ -39,9 +40,26 @@ because they answer different first questions: someone arriving at `sterish.xyz` never heard of Sterish and needs the argument, while someone opening `app.sterish.xyz` already knows and wants the registry. So the landing has no product nav and no wallet button. -Set each project's **Root Directory** in Vercel: `landing/` for `sterish.xyz`, `frontend/` for -`app.sterish.xyz`. Each installs its own `pnpm-lock.yaml`. Neither needs environment variables -to build; `NEXT_PUBLIC_API_URL` defaults to `https://api.sterish.xyz` in the landing. +Each project's **Root Directory** is set in Vercel, and both are linked to this one repo, so a push +to `main` deploys whichever app changed: + +| Vercel project | Root directory | Domains | +|---|---|---| +| `sterish-landing` (`prj_AilE5ilGPZKEBQYP8zIdFzTxGhqk`) | `landing/` | `sterish.xyz`, `www.sterish.xyz` (308 to apex) | +| `sterish` (`prj_5lJ3MvcnTsVFXWVsj5ry3kfalbVZ`) | `frontend/` | `app.sterish.xyz` | + +Each installs its own `pnpm-lock.yaml`. Neither needs environment variables to build; +`NEXT_PUBLIC_API_URL` defaults to `https://api.sterish.xyz` in the landing. + +**`https://app.sterish.xyz/landing` is now a 404**, and deliberately so: the split deleted +`frontend/app/landing/`. Anything still pointing at that URL — the Instawards report, links shared +before 28 September — has to move to `https://sterish.xyz`. The apex is the only home the landing +page has. + +Verified live on 28 September: `sterish.xyz` returns 200 with the landing page (logo lockup present, +no wallet button, the live registry row read from `api.sterish.xyz`), `www.sterish.xyz` returns 308 +to the apex, `app.sterish.xyz` still returns the registry dashboard, and `app.sterish.xyz/check` +still works. The two apps share the design tokens by **copy**, not by import, and the copy is guarded: `landing/src/modules/landing/tokens.drift.test.ts` reads both `globals.css` files and fails