mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 17:12:03 +00:00
CLICKHOUSE-2936: temporary client-side redirect
This commit is contained in:
parent
743160d5a1
commit
ba7a7058fb
@ -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
Block a user