Skip to content

Commit 43c328e

Browse files
authored
fix: hostname link works (#221)
1 parent 00c1ed6 commit 43c328e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/deploy.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,10 @@ function copyToClipboard (hostnames, gatewayUrls, logger) {
102102

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

105+
if (!toCopy.startsWith('https')) {
106+
toCopy = `https://${toCopy}`
107+
}
108+
105109
try {
106110
const clipboardy = require('clipboardy')
107111
clipboardy.writeSync(toCopy)

0 commit comments

Comments
 (0)