Skip to content

Commit 32728c9

Browse files
authored
Merge pull request #976 from rubensworks/fix/crash-init
Fix crash when running solid init
2 parents 89a5786 + bf21b43 commit 32728c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/lib/options.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ module.exports = [
324324
name: 'server-name',
325325
help: 'A name for your server (not required, but will be presented on your server\'s frontpage)',
326326
prompt: true,
327-
default: answers => new URL(answers.serverUri).hostname
327+
default: answers => new URL(answers['server-uri']).hostname
328328
},
329329
{
330330
name: 'server-description',

0 commit comments

Comments
 (0)