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

3 lines
150 B
JavaScript
Raw Normal View History

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