mirror of https://github.com/ByConity/ByConity
CLICKHOUSE-2936: temporary client-side redirect
This commit is contained in:
parent
dc3a618d7a
commit
cbccd655a9
|
@ -477,6 +477,11 @@ clickhouse-client
|
|||
show_download_block();
|
||||
}
|
||||
|
||||
var hostParts = window.location.host.split('.');
|
||||
if (hostParts.length > 2) {
|
||||
window.location.host = hostParts[0] + '.' + hostParts[1];
|
||||
}
|
||||
|
||||
if (location.hash == "#feedback") {
|
||||
var class_name = 'feedback_form';
|
||||
block_visible[class_name] ? hideBlock(class_name) : showBlock(class_name);
|
||||
|
|
Loading…
Reference in New Issue