Restyle landing to match aimloperations.com and use piha.lc.
CI / test (pull_request) Successful in 4s
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user