generated from Templates_CodeFirst/templateHtmlCss
last fix I hope
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
parent
4c63b70a4f
commit
81b655638f
@ -1,7 +1,7 @@
|
|||||||
const devMode = true; // set to false when you want to go back to your normal site
|
const devMode = true; // set to false when you want to go back to your normal site
|
||||||
|
|
||||||
if(devMode && window.location.pathname !== '/under-construction.html'){
|
if(devMode && window.location.pathname !== '/under-dev.html'){
|
||||||
window.location.replace('under-construction.html');
|
window.location.replace('under-dev.html');
|
||||||
} else if (!devMode && window.location.pathname === '/under-construction.html') {
|
} else if (!devMode && window.location.pathname === '/under-dev.html') {
|
||||||
window.location.replace('index.html');
|
window.location.replace('index.html');
|
||||||
}
|
}
|
Loading…
Reference in new issue