mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-26 19:06:11 +01:00
8 lines
170 B
TypeScript
8 lines
170 B
TypeScript
declare global {
|
|
interface Window {
|
|
baseUrl?: string;
|
|
}
|
|
}
|
|
|
|
export const baseUrl = `${window.location.protocol}//${window.location.host}${window.baseUrl || "/"}`;
|