feat(web): mqtt for stats

This commit is contained in:
Paul Armstrong
2021-02-15 20:10:20 -08:00
committed by Blake Blackshear
parent 20c65b9a31
commit e399790442
6 changed files with 260 additions and 72 deletions

View File

@@ -1,2 +1,2 @@
import { API_HOST } from '../env';
export const baseUrl = API_HOST || window.baseUrl || '';
export const baseUrl = API_HOST || window.baseUrl || `${window.location.protocol}//${window.location.host}`;