forked from Github/frigate
* use safeloader * use json responses wherever possible * remove CORS and add CSRF token * formatting fixes * add envjs back * fix baseurl test
2 lines
103 B
JavaScript
2 lines
103 B
JavaScript
export const baseUrl = `${window.location.protocol}//${window.location.host}${window.baseUrl || '/'}`;
|