From 13a5630949b508db34e9fc6327e24f4cb704d51d Mon Sep 17 00:00:00 2001 From: Sebastian Jambor Date: Sat, 4 Feb 2023 19:50:38 +0100 Subject: [PATCH] pass fetch method to explorer --- .../mastodon/features/activitypub_explorer/index.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/app/javascript/mastodon/features/activitypub_explorer/index.js b/app/javascript/mastodon/features/activitypub_explorer/index.js index c70e35506..ee7097161 100644 --- a/app/javascript/mastodon/features/activitypub_explorer/index.js +++ b/app/javascript/mastodon/features/activitypub_explorer/index.js @@ -69,7 +69,13 @@ class ActivityPubExplorer extends ImmutablePureComponent {
- + + fetch('/api/v1/json_ld?' + new URLSearchParams({ url }).toString()) + } + initialValue={data} + initialUrl={url} + />
);