9 lines · 271 B · TypeScript
RawDownload
export * from "@t3tools/shared/advertisedEndpoint"; export const environmentEndpointUrl = (httpBaseUrl: string, pathname: string): string => {  const url = new URL(httpBaseUrl);  url.pathname = pathname;  url.search = "";  url.hash = "";  return url.toString();};

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t