Handle no domain

main
Bob Mottram 2021-09-10 20:18:27 +01:00
parent 0629505087
commit 2da7cd958e
1 changed files with 4 additions and 1 deletions

View File

@ -850,9 +850,12 @@ if args.socnet:
args.language = 'en'
if not args.domain:
args.domain = getConfigParam(baseDir, 'domain')
domain = ''
if args.domain:
domain = args.domain
signingPrivateKeyPem = None
if args.secureMode:
signingPrivateKeyPem = getInstanceActorKey(baseDir, args.domain)
signingPrivateKeyPem = getInstanceActorKey(baseDir, domain)
dotGraph = instancesGraph(baseDir, args.socnet,
proxyType, args.port,
httpPrefix, debug,