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:
@@ -9,8 +9,8 @@ import { isSubcommand, resolveCliArgv } from "@oh-my-pi/pi-coding-agent/cli-comm
|
||||
describe("join command is registered as a top-level subcommand", () => {
|
||||
test("CLI runner routes `join <link>` to the join command, not launch", () => {
|
||||
expect(isSubcommand("join")).toBe(true);
|
||||
expect(resolveCliArgv(["join", "wss://relay.omp.sh/s/abc#key"])).toEqual({
|
||||
argv: ["join", "wss://relay.omp.sh/s/abc#key"],
|
||||
expect(resolveCliArgv(["join", "wss://my.omp.sh/s/abc#key"])).toEqual({
|
||||
argv: ["join", "wss://my.omp.sh/s/abc#key"],
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user