[backend/federation] Use the JSON-LD 1.0 processing mode
This commit is contained in:
parent
e6f881449e
commit
cca1ee70bf
1 changed files with 2 additions and 1 deletions
|
@ -4,6 +4,7 @@ using Iceshrimp.Backend.Core.Federation.Cryptography;
|
|||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using VDS.RDF.JsonLd;
|
||||
using VDS.RDF.JsonLd.Syntax;
|
||||
|
||||
namespace Iceshrimp.Backend.Core.Federation.ActivityStreams;
|
||||
|
||||
|
@ -61,7 +62,7 @@ public static class LdHelpers
|
|||
|
||||
private static readonly JsonLdProcessorOptions Options = new()
|
||||
{
|
||||
DocumentLoader = CustomLoader, ExpandContext = ASExtensions
|
||||
DocumentLoader = CustomLoader, ExpandContext = ASExtensions, ProcessingMode = JsonLdProcessingMode.JsonLd10
|
||||
};
|
||||
|
||||
public static readonly JsonSerializerSettings JsonSerializerSettings = new()
|
||||
|
|
Loading…
Add table
Reference in a new issue