mirror of
https://github.com/caddyserver/website.git
synced 2025-04-24 14:06:17 -04:00
fix(redesign): static top download
This commit is contained in:
parent
3dc98f5584
commit
85ec18c9a6
3 changed files with 39 additions and 25 deletions
|
@ -138,4 +138,8 @@ function togglePackage({ target: { dataset: { module } } }) {
|
|||
}
|
||||
|
||||
document.getElementById('command-builder').innerText = `xcaddy build${packages.map(p => ` --with ${p}`).join('')}`
|
||||
}
|
||||
|
||||
function copyCommand() {
|
||||
navigator.clipboard.writeText(`xcaddy build${packages.map(s => ` --with ${s}`).join('')}`)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue