Restyle landing to match aimloperations.com and use piha.lc.
CI / test (pull_request) Successful in 4s

Public short hosts are piha.lc (prod) and beta.piha.li (beta). The root
page is a marketing CTA to contact AI ML Operations for access.
Closes #3.
This commit is contained in:
2026-08-30 08:34:10 -05:00
parent 630b770c12
commit bb1aa449d6
18 changed files with 1373 additions and 214 deletions
+3 -3
View File
@@ -3,13 +3,13 @@
For other services (`monica_site`, later callers) that mint short links.
This service has two public hostnames. **Call the API host.** Never create links
on the short domain (`aiml.pw` / `cidinn.li` / `go.mkdrealtor.com`). That host
on the short domain (`piha.lc` / `beta.piha.li`). That host
only serves `GET /` (landing) and `GET /<code>` (302). `/api/` there is **404**.
| Host | Example | What you call |
|------|---------|----------------|
| API | `https://shortener.aimloperations.com` | `POST/GET /api/links/` |
| Short | `https://aiml.pw` (or `cidinn.li`) | phones only — `GET /<code>` |
| Short | `https://piha.lc` (beta: `https://beta.piha.li`) | phones only — `GET /<code>` |
Local compose: API + redirects on `http://127.0.0.1:8005`.
@@ -147,7 +147,7 @@ Content-Type: application/json
```json
{
"code": "a3k9xm",
"short_url": "https://aiml.pw/a3k9xm",
"short_url": "https://piha.lc/a3k9xm",
"target_url": "https://mkdrealtor.com/listings/oak-st?utm_source=monica&utm_medium=sms",
"title": "Oak St listing",
"is_active": true,