Skip to content

Commit

Permalink
fix: hostname link works (#221)
Browse files Browse the repository at this point in the history
  • Loading branch information
hacdias authored Jul 19, 2021
1 parent 00c1ed6 commit 43c328e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/deploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@ function copyToClipboard (hostnames, gatewayUrls, logger) {

logger.info('📋 Copying HTTP gateway URL to clipboard…')

if (!toCopy.startsWith('https')) {
toCopy = `https://${toCopy}`
}

try {
const clipboardy = require('clipboardy')
clipboardy.writeSync(toCopy)
Expand Down

0 comments on commit 43c328e

Please sign in to comment.