https://reisub.nsupdate.info/git
/
relay.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a15d734
)
set content-type to application/activity+json for /actor
author
Joel Beckmeyer
<joel@beckmeyer.us>
Fri, 20 Nov 2020 02:13:24 +0000
(21:13 -0500)
committer
Joel Beckmeyer
<joel@beckmeyer.us>
Fri, 20 Nov 2020 02:13:24 +0000
(21:13 -0500)
relay/actor.py
patch
|
blob
|
history
diff --git
a/relay/actor.py
b/relay/actor.py
index
24d39dd
..
eb8c51b
100644
(file)
--- a/
relay/actor.py
+++ b/
relay/actor.py
@@
-62,7
+62,7
@@
async def actor(request):
"preferredUsername": "relay",
"url": "https://{}/actor".format(request.host)
}
- return aiohttp.web.json_response(data)
+ return aiohttp.web.json_response(data
, content_type='application/activity+json'
)
app.router.add_get('/actor', actor)