Migrate canonical hostname from news.pikachat.org to git.pikachat.org
Intent: Unify all references to the forge under the new git.pikachat.org domain, including the ph client default URL, Nostr auth verify URLs, test fixtures, Caddy virtual host configuration, and documentation.
Affected files: crates/ph/src/lib.rs, crates/pika-news/src/auth.rs, crates/pika-news/templates/base.html, crates/pika-news/README.md, infra/nix/modules/builder.nix, docs/forge-hosted-manual-qa.md
@@ -13,7 +13,7 @@ const DEFAULT_BASE_URL: &str = "https://git.pikachat.org";
@@ -1004,7 +1004,7 @@ base_url: "https://git.pikachat.org".to_string(),
@@ -325,7 +325,7 @@ let verify_url = "https://git.pikachat.org/news/auth/verify";
@@ -205,10 +205,11 @@ const verifyUrl = new URL('/news/auth/verify', window.location.origin).toString();
@@ -203,11 +215,16 @@ virtualHosts."git.pikachat.org" = { ... virtualHosts."news.pikachat.org" = { respond "pika forge moved to https://git.pikachat.org" 410 };
The ph CLI client's DEFAULT_BASE_URL changes from https://news.pikachat.org to https://git.pikachat.org, and the corresponding test fixture is updated to match.
In auth.rs, the hardcoded Nostr NIP-98 verify URL in the test switches to the new domain. The browser-side base.html template is also fixed: instead of using window.location.href (which could include query strings or fragment paths), it now constructs the verify URL explicitly via new URL('/news/auth/verify', window.location.origin), making auth work correctly regardless of the page the user is on.
The Caddy reverse-proxy in builder.nix now serves git.pikachat.org as the primary virtual host and returns a 410 Gone response for the old news.pikachat.org hostname.
Documentation in README.md and forge-hosted-manual-qa.md is updated to reference the new canonical Git remote git@git.pikachat.org:pika.git and the web UI at https://git.pikachat.org/news.