mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Used more specific Content-Type for ActivityPub
no-issue
This commit is contained in:
parent
da2ba37f63
commit
2deee35673
1 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@ export class ActivityPubController {
|
|||
) {}
|
||||
|
||||
@Header('Cache-Control', 'no-store')
|
||||
@Header('Content-Type', 'application/ld+json')
|
||||
@Header('Content-Type', 'application/activity+json')
|
||||
@Roles(['Anon'])
|
||||
@Get('actor/:id')
|
||||
async getActor(@Param('id') id: unknown) {
|
||||
|
@ -21,7 +21,7 @@ export class ActivityPubController {
|
|||
}
|
||||
|
||||
@Header('Cache-Control', 'no-store')
|
||||
@Header('Content-Type', 'application/ld+json')
|
||||
@Header('Content-Type', 'application/activity+json')
|
||||
@Roles(['Anon'])
|
||||
@Get('outbox/:owner')
|
||||
async getOutbox(@Param('owner') owner: unknown) {
|
||||
|
|
Loading…
Add table
Reference in a new issue