diff options
author | Vitaly Takmazov | 2023-01-04 20:42:34 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-01-04 20:42:34 +0300 |
commit | e17ac99c67e5069745f3f19a91c18b6d3288b6e9 (patch) | |
tree | 5ed1cb7207a4bb52bd3f7c1233a7ea66ef89cea3 /src/main/java/com/juick/www/api/activity/model | |
parent | cf265cbed048b9324aea4b0bd591dbb34fd6c07b (diff) |
ActivityPub: cleanup media types and redirects
Diffstat (limited to 'src/main/java/com/juick/www/api/activity/model')
-rw-r--r-- | src/main/java/com/juick/www/api/activity/model/Context.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/com/juick/www/api/activity/model/Context.java b/src/main/java/com/juick/www/api/activity/model/Context.java index 5a66b3b3..950c8f63 100644 --- a/src/main/java/com/juick/www/api/activity/model/Context.java +++ b/src/main/java/com/juick/www/api/activity/model/Context.java @@ -96,8 +96,7 @@ public class Context implements Serializable { public final static String ACTIVITY_STREAMS_URI = "https://www.w3.org/ns/activitystreams"; public final static String SECURITY_URI = "https://w3id.org/security/v1"; - public final static String LD_JSON_MEDIA_TYPE = "application/ld+json; profile=\"https://www.w3.org/ns/activitystreams\""; - public final static String FALLBACK_JSON_MEDIA_TYPE = "application/json; profile=\"https://www.w3.org/ns/activitystreams\""; + public final static String LD_JSON_MEDIA_TYPE = "application/ld+json"; public final static String ACTIVITY_MEDIA_TYPE = "application/activity+json"; public final static String ACTIVITYSTREAMS_PROFILE_MEDIA_TYPE = ACTIVITY_MEDIA_TYPE + "; profile=\"https://www.w3.org/ns/activitystreams\""; public final static String ACTIVITYSTREAMS_PUBLIC = "https://www.w3.org/ns/activitystreams#Public"; |