host in this server
This commit is contained in:
parent
cb031efde5
commit
4990900390
|
@ -51,6 +51,7 @@ namespace MisskeyAPI {
|
|||
}
|
||||
|
||||
export const user = (u: Entity.User): MegalodonEntity.Account => {
|
||||
host = host.replace('https://', '')
|
||||
let acct = u.username
|
||||
let acctUrl = `https://${u.host || 'example.com'}/@${u.username}`
|
||||
if (u.host) {
|
||||
|
|
Loading…
Reference in a new issue