let API_URL: string;

API_URL = `https://${window.location.host}/api`;
export default API_URL;

let API_URL: string;

API_URL = `${window.location.origin}/api`;
export default API_URL;

Switch api url to use origin
CONFIG: Switch api url to use origin
