Skip to content

Commit

Permalink
Update script.js
Browse files Browse the repository at this point in the history
  • Loading branch information
opiran-club authored Aug 17, 2024
1 parent e24f5d1 commit 2359423
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ functionconvertToURL() {
const url = `wireguard://${encodeURIComponent(privateKey)}@${endpoint}:${port}/?publickey=${encodeURIComponent(publicKey)}&address=${encodeURIComponent(endpoint)}&mtu=${encodeURIComponent(mtu)}#test`;

document.getElementById('output').innerText = url;
document.getElementById('copyButton').style.display = 'inline-block'; // Show the copy button
}

functioncopyToClipboard() {
Expand Down

0 comments on commit 2359423

Please sign in to comment.