mirror of https://gitlab.com/bashrc2/epicyon
Person structure
parent
35ec570558
commit
1245fdcdd1
|
@ -163,13 +163,14 @@ def createPersonBase(baseDir: str,nickname: str,domain: str,port: int, \
|
||||||
'outbox': httpPrefix+'://'+domain+'/users/'+nickname+'/outbox',
|
'outbox': httpPrefix+'://'+domain+'/users/'+nickname+'/outbox',
|
||||||
'preferredUsername': ''+nickname,
|
'preferredUsername': ''+nickname,
|
||||||
'summary': '',
|
'summary': '',
|
||||||
'publicKey': {'id': httpPrefix+'://'+domain+'/users/'+nickname+'#main-key',
|
'publicKey': {
|
||||||
|
'id': httpPrefix+'://'+domain+'/users/'+nickname+'#main-key',
|
||||||
'owner': httpPrefix+'://'+domain+'/users/'+nickname,
|
'owner': httpPrefix+'://'+domain+'/users/'+nickname,
|
||||||
'publicKeyPem': publicKeyPem,
|
'publicKeyPem': publicKeyPem
|
||||||
'summary': '',
|
},
|
||||||
'tag': [],
|
'tag': [],
|
||||||
'type': 'Person',
|
'type': 'Person',
|
||||||
'url': httpPrefix+'://'+domain+'/@'+nickname}
|
'url': httpPrefix+'://'+domain+'/@'+nickname
|
||||||
}
|
}
|
||||||
|
|
||||||
if saveToFile:
|
if saveToFile:
|
||||||
|
|
Loading…
Reference in New Issue