generated from Templates_CodeFirst/templateHtmlCss
correct filename again
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
parent
da24ae3d1d
commit
4c63b70a4f
@ -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-construction.html'){
|
||||||
window.location.replace('under-dev.html');
|
window.location.replace('under-construction.html');
|
||||||
} else if (!devMode && window.location.pathname === '/under-construction.html') {
|
} else if (!devMode && window.location.pathname === '/under-construction.html') {
|
||||||
window.location.replace('index.html');
|
window.location.replace('index.html');
|
||||||
}
|
}
|
Loading…
Reference in new issue