mirror of
				https://github.com/go-gitea/gitea
				synced 2025-11-04 05:18:25 +00:00 
			
		
		
		
	Go back to using ap.IRI to generate inbox and outbox IRIs
This commit is contained in:
		@@ -59,8 +59,8 @@ func Person(ctx *context.APIContext) {
 | 
			
		||||
		URL:       ap.IRI(ctx.ContextUser.AvatarLink()),
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	person.Inbox, _ = ap.Inbox.AddTo(person)
 | 
			
		||||
	person.Outbox, _ = ap.Outbox.AddTo(person)
 | 
			
		||||
	person.Inbox = ap.IRI(link + "/inbox")
 | 
			
		||||
	person.Outbox = ap.IRI(link + "/outbox")
 | 
			
		||||
 | 
			
		||||
	person.PublicKey.ID = ap.IRI(link + "#main-key")
 | 
			
		||||
	person.PublicKey.Owner = ap.IRI(link)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user