forked from Github/frigate
7
web/src/api/baseUrl.ts
Normal file
7
web/src/api/baseUrl.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
declare global {
|
||||
interface Window {
|
||||
baseUrl?: any;
|
||||
}
|
||||
}
|
||||
|
||||
export const baseUrl = `${window.location.protocol}//${window.location.host}${window.baseUrl || '/'}`;
|
||||
Reference in New Issue
Block a user