13 lines
382 B
JavaScript
13 lines
382 B
JavaScript
|
|
if (window.location.hostname === 'localhost' || window.location.hostname === '127.0.0.1') {
|
|
window.BASE_URL = 'http://127.0.0.1:5000';
|
|
} else {
|
|
window.BASE_URL = 'https://gammaworld.gmgauthier.com';
|
|
}
|
|
window.IMG = "/assets/img";
|
|
window.CSS = "/assets/css";
|
|
window.JS = "/assets/js";
|
|
window.DOC = "/pages";
|
|
|
|
console.log(window.location.hostname)
|
|
console.log(window.BASE_URL) |