mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-12-08 06:15:43 +03:00
7 lines
174 B
TypeScript
7 lines
174 B
TypeScript
declare global {
|
|
interface Window {
|
|
baseUrl?: any;
|
|
}
|
|
}
|
|
|
|
export const baseUrl = `${window.location.protocol}//${window.location.host}${window.baseUrl || '/'}`; |