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

3 lines
149 B
JavaScript
Raw Normal View History

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