mirror of
https://github.com/alexhopeoconnor/frigate.git
synced 2026-10-19 09:51:31 +10:00
get ingress to play nice with vite
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
import { API_HOST } from '../env';
|
||||
export const baseUrl = API_HOST || `${window.location.protocol}//${window.location.host}${window.baseUrl || ''}`;
|
||||
export const baseUrl = API_HOST || `${window.location.protocol}//${window.location.host}${window.baseUrl || '/'}`;
|
||||
|
||||
Reference in New Issue
Block a user