UNPKG

@cocalc/server

Version:

CoCalc server functionality: functions used by either the hub and the next.js server

4 lines (3 loc) 136 B
export function urlToUserURL(url?: string): string { return (url ?? "").replace("api/v2/tickets", "requests").replace(".json", ""); }