blakeblackshear.frigate/web/src/api/baseUrl.js

3 lines
144 B
JavaScript
Raw Normal View History

2021-02-14 05:37:22 +01:00
import { API_HOST } from '../env';
2021-02-16 05:10:20 +01:00
export const baseUrl = API_HOST || window.baseUrl || `${window.location.protocol}//${window.location.host}`;