2
0
Files
cal/calcom/packages/lib/WebAppURL.ts
2024-08-09 00:39:27 +02:00

9 lines
263 B
TypeScript

import { WEBAPP_URL } from "@calcom/lib/constants";
/** This class extends the native URL and uses WEBAPP_URL as the base URL for creating object URLs */
export class WebAppURL extends URL {
constructor(path: string | URL) {
super(path, WEBAPP_URL);
}
}