2023-12-08 07:33:22 -06:00
|
|
|
declare global {
|
2024-02-28 15:23:56 -07:00
|
|
|
interface Window {
|
|
|
|
|
baseUrl?: string;
|
2023-12-08 07:33:22 -06:00
|
|
|
}
|
2024-02-28 15:23:56 -07:00
|
|
|
}
|
2023-12-08 07:33:22 -06:00
|
|
|
|
2024-02-28 15:23:56 -07:00
|
|
|
export const baseUrl = `${window.location.protocol}//${window.location.host}${window.baseUrl || "/"}`;
|