mirror of
https://github.com/misskey-dev/misskey
synced 2024-11-29 07:18:52 +09:00
Send Content-Type in ActivityPub request
This commit is contained in:
parent
eff44f9cd1
commit
1f53d1a149
@ -19,6 +19,9 @@ export default (user: ILocalUser, url: string, object: any) => new Promise((reso
|
||||
port,
|
||||
method: 'POST',
|
||||
path: pathname + search,
|
||||
headers: {
|
||||
'Content-Type': 'application/activity+json'
|
||||
}
|
||||
}, res => {
|
||||
log(`${url} --> ${res.statusCode}`);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user