mirror of
https://github.com/ivabus/www
synced 2024-11-22 02:05:06 +03:00
Merge pull request #356 from teaxyz/add-https-to-one-liner
Modified script to include 'https' again
This commit is contained in:
commit
3281537809
1 changed files with 3 additions and 0 deletions
|
@ -7,6 +7,9 @@
|
|||
|
||||
$(".copy-button").on("click", function() {
|
||||
var copyText = $(this).siblings(".copy-text").text();
|
||||
// Update the command to copy 'sh <(curl https://tea.xyz)'
|
||||
copyText = copyText.replace("sh <(curl tea.xyz)", "sh <(curl https://tea.xyz)");
|
||||
|
||||
var tempInput = document.createElement("input");
|
||||
tempInput.style = "position: absolute; left: -1000px; top: -1000px";
|
||||
tempInput.value = copyText;
|
||||
|
|
Loading…
Reference in a new issue