Compare commits

...

2 commits

Author SHA1 Message Date
Grishka
115b986edc uh 2021-03-21 04:03:53 +03:00
Grishka
c14a505456 Fix JSON-LD contexts 2021-03-21 04:00:32 +03:00

View file

@ -8,10 +8,11 @@ pub(crate) fn lemmy_context() -> Result<Vec<AnyBase>, LemmyError> {
"sc": "http://schema.org#",
"sensitive": "as:sensitive",
"stickied": "as:stickied",
"pt": "https://join.lemmy.ml#",
"comments_enabled": {
"kind": "sc:Boolean",
"type": "sc:Boolean",
"id": "pt:commentsEnabled"
}
}))?;
Ok(vec![AnyBase::from(context()), context_ext])
Ok(vec![AnyBase::from(context()), context_ext, "https://w3id.org/security/v1"])
}