diff --git a/public/404.html b/public/404.html index 86c201b486..4ba88ea481 100644 --- a/public/404.html +++ b/public/404.html @@ -26,20 +26,20 @@ console.log('404 called'); alert('404 CALL'); var l = window.location; - l.replace( - l.protocol + - '//' + - l.hostname + - (l.port ? ':' + l.port : '') + - l.pathname - .split('/') - .slice(0, 1 + pathSegmentsToKeep) - .join('/') + - '/?/' + - l.pathname.slice(1).split('/').slice(pathSegmentsToKeep).join('/').replace(/&/g, '~and~') + - (l.search ? '&' + l.search.slice(1).replace(/&/g, '~and~') : '') + - l.hash - ); + // l.replace( + // l.protocol + + // '//' + + // l.hostname + + // (l.port ? ':' + l.port : '') + + // l.pathname + // .split('/') + // .slice(0, 1 + pathSegmentsToKeep) + // .join('/') + + // '/?/' + + // l.pathname.slice(1).split('/').slice(pathSegmentsToKeep).join('/').replace(/&/g, '~and~') + + // (l.search ? '&' + l.search.slice(1).replace(/&/g, '~and~') : '') + + // l.hash + // );