mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 01:22:04 +00:00
Different
This commit is contained in:
parent
eb4cddd139
commit
02704bc5cc
@ -522,8 +522,8 @@
|
|||||||
const current_url = new URL(window.location);
|
const current_url = new URL(window.location);
|
||||||
const opened_locally = location.protocol == 'file:';
|
const opened_locally = location.protocol == 'file:';
|
||||||
|
|
||||||
/// Run query instantly after page is loaded
|
/// Run query instantly after page is loaded if the run parameter is present.
|
||||||
const run_immediately = current_url.searchParams.get("run") == 1;
|
const run_immediately = !!current_url.searchParams.get("run");
|
||||||
|
|
||||||
const server_address = current_url.searchParams.get('url');
|
const server_address = current_url.searchParams.get('url');
|
||||||
if (server_address) {
|
if (server_address) {
|
||||||
|
Loading…
Reference in New Issue
Block a user