mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
Update play.html
This commit is contained in:
parent
291bcc0e54
commit
5cf3863e7e
@ -517,7 +517,7 @@
|
||||
let previous_query = '';
|
||||
|
||||
const current_url = new URL(window.location);
|
||||
const opened_locally = document.location.href.startsWith("file://");
|
||||
const opened_locally = location.protocol == 'file:';
|
||||
|
||||
const server_address = current_url.searchParams.get('url');
|
||||
if (server_address) {
|
||||
|
Loading…
Reference in New Issue
Block a user