Serve /api/ on piha.lc / beta.piha.li #8

Merged
westfarn merged 2 commits from feat/7-one-public-host into master 2026-08-30 17:27:40 -07:00
Owner

Summary

  • Serve /api/ on piha.lc / beta.piha.li (Bearer still required).
  • Drop shortener.aimloperations.com / shortener-beta.aimloperations.com from env examples and caller docs.
  • /admin/ stays 404 on the public host.

Closes #7.

Test plan

  • POST https://beta.piha.li/api/links/ with valid Bearer → 201
  • Same without Bearer → 401
  • GET https://beta.piha.li/<code> still 302
  • /admin/ on beta.piha.li → 404
  • Unit tests: cd site && uv run python manage.py test
## Summary - Serve `/api/` on `piha.lc` / `beta.piha.li` (Bearer still required). - Drop `shortener.aimloperations.com` / `shortener-beta.aimloperations.com` from env examples and caller docs. - `/admin/` stays 404 on the public host. Closes #7. ## Test plan - [ ] `POST https://beta.piha.li/api/links/` with valid Bearer → 201 - [ ] Same without Bearer → 401 - [ ] `GET https://beta.piha.li/<code>` still 302 - [ ] `/admin/` on beta.piha.li → 404 - [ ] Unit tests: `cd site && uv run python manage.py test`
westfarn added 1 commit 2026-08-30 17:25:16 -07:00
westfarn added 1 commit 2026-08-30 17:26:16 -07:00
small ux update
CI / test (pull_request) Successful in 4s
819265d019
westfarn merged commit 433308d615 into master 2026-08-30 17:27:40 -07:00
westfarn deleted branch feat/7-one-public-host 2026-08-30 17:27:40 -07:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ai_ml_operations/url_shortening_service#8