chore(collab): moved the public relay and share endpoints to my.omp.sh
- Changed `DEFAULT_RELAY_URL` in `@oh-my-pi/pi-wire` from `wss://relay.omp.sh` to `wss://my.omp.sh` and updated the constants, collab-link, and join-command tests asserting the old origin. - Added `DEFAULT_SHARE_URL` (`https://my.omp.sh/s`) to pi-wire with its changelog entry; it shares a changed run with the relay constant and is consumed by the upcoming /share work. - Updated collab-web canonical/OG/twitter URLs in `index.html`, `robots.txt`, `sitemap.xml`, README, and the `local-relay.ts` doc comment to the new domain. - Refreshed the `/collab` entry in the coding-agent changelog to reference the new relay origin.
This commit is contained in:
@@ -60,7 +60,7 @@ describe("collab link parsing", () => {
|
||||
});
|
||||
|
||||
it("parses web deep links (https://<relay>/#<link>)", () => {
|
||||
const bare = parseCollabLink(`https://relay.omp.sh/#${ROOM}#${KEY_TEXT}`);
|
||||
const bare = parseCollabLink(`https://my.omp.sh/#${ROOM}#${KEY_TEXT}`);
|
||||
if ("error" in bare) throw new Error(bare.error);
|
||||
expect(bare.wsUrl).toBe(`${DEFAULT_RELAY_URL}/r/${ROOM}`);
|
||||
expect(bare.key).toEqual(KEY);
|
||||
|
||||
Reference in New Issue
Block a user