Merge pull request #356 from teaxyz/add-https-to-one-liner

Modified script to include 'https' again
This commit is contained in:
Chris Waters 2023-05-15 11:36:19 -04:00 committed by GitHub
commit 3281537809
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;