Files
jomeat/public/assets/js/pages/api-keys.js
2026-02-17 08:54:43 +00:00

1 line
267 B
JavaScript
Executable File

function generateApiKey(){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";let a="";for(let e=0;e<25;e++){var n=Math.floor(Math.random()*t.length);a+=t[n]}document.getElementById("apiKeyInput").value=a}new ClipboardJS("[data-clipboard-target]");