Skip to content

Commit bf21b43

Browse files
committed
Fix crash when running solid init
1 parent 89a5786 commit bf21b43

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)