diff options
Diffstat (limited to 'http/router.go')
-rw-r--r-- | http/router.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/http/router.go b/http/router.go index 910c67c..4c251df 100644 --- a/http/router.go +++ b/http/router.go @@ -26,7 +26,7 @@ func render(c *gin.Context, resource map[string]interface{}, err error) { jsonErr := c.Error(err) c.JSON(http.StatusInternalServerError, jsonErr.JSON()) } else { - c.Writer.Header().Set("Content-Type", "application/ld+json; profile=\"https://www.w3.org/ns/activitystreams\"") + c.Writer.Header().Set("Content-Type", "application/activity+json") c.JSON(http.StatusOK, resource) } } |