Code & Deploy
siGit Code
Git Hosting
Toggle menu
siGit Code
Git Hosting
Sign in
Sign in
@devries-cameron20
/
t3code-1
Fork
0
The best way to control Claude Code, Codex and more from any computer or phone
t3code-1
/
packages
/
client-runtime
/
src
/
environment
/
endpoint.ts
Code
Commits
Issues
Pulls
Cloud Agent
CICD
main
main
ts
9 lines
271 Bytes
Copy permalink
Copy
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
};