Small changes
This commit is contained in:
parent
c1fa136caa
commit
b30fb8b8e2
3 changed files with 55 additions and 51 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
if(window.location.host.indexOf(".local") == -1){
|
||||||
var xhr = new XMLHttpRequest();
|
var xhr = new XMLHttpRequest();
|
||||||
xhr.open('GET', 'https://dotcss.local/' + window.location.host.replace(/^www\./, '') + '.css');
|
xhr.open('GET', 'https://dotcss.local/' + window.location.host.replace(/^www\./, '') + '.css');
|
||||||
|
|
||||||
|
@ -25,3 +26,4 @@ xhr.onreadystatechange = function() {
|
||||||
};
|
};
|
||||||
|
|
||||||
xhr.send();
|
xhr.send();
|
||||||
|
}
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
if(window.location.host.indexOf(".local") != -1){
|
||||||
var xhr = new XMLHttpRequest();
|
var xhr = new XMLHttpRequest();
|
||||||
xhr.open('GET', 'https://dotjs.local/' + window.location.host.replace(/^www\./, '') + '.js');
|
xhr.open('GET', 'https://dotjs.local/' + window.location.host.replace(/^www\./, '') + '.js');
|
||||||
|
|
||||||
|
@ -25,3 +26,4 @@ xhr.onreadystatechange = function() {
|
||||||
};
|
};
|
||||||
|
|
||||||
xhr.send();
|
xhr.send();
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue