mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
ensure base url works for websockets
This commit is contained in:
parent
31d408a746
commit
b2a2fe898c
@ -1,2 +1,2 @@
|
||||
import { API_HOST } from '../env';
|
||||
export const baseUrl = API_HOST || window.baseUrl || `${window.location.protocol}//${window.location.host}`;
|
||||
export const baseUrl = API_HOST || `${window.location.protocol}//${window.location.host}${window.baseUrl || ''}`;
|
||||
|
Loading…
Reference in New Issue
Block a user