@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 04:45 UTC

main
ts 9 lines 271 Bytes
Raw
1 export * from "@t3tools/shared/advertisedEndpoint";
2
3 export const environmentEndpointUrl = (httpBaseUrl: string, pathname: string): string => {
4 const url = new URL(httpBaseUrl);
5 url.pathname = pathname;
6 url.search = "";
7 url.hash = "";
8 return url.toString();
9 };