Compare commits

..

2 Commits

Author SHA1 Message Date
Blake Blackshear
d771726c2a version tick 2021-02-21 09:32:45 -06:00
Blake Blackshear
b2a2fe898c ensure base url works for websockets 2021-02-21 09:32:45 -06:00
2 changed files with 2 additions and 2 deletions

View File

@@ -3,7 +3,7 @@ default_target: amd64_frigate
COMMIT_HASH := $(shell git log -1 --pretty=format:"%h"|tail -1)
version:
echo "VERSION='0.8.2-$(COMMIT_HASH)'" > frigate/version.py
echo "VERSION='0.8.3-$(COMMIT_HASH)'" > frigate/version.py
web:
docker build --tag frigate-web --file docker/Dockerfile.web web/

View File

@@ -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 || ''}`;