pass fetch method to explorer
This commit is contained in:
parent
ed520d497c
commit
13a5630949
1 changed files with 7 additions and 1 deletions
|
@ -69,7 +69,13 @@ class ActivityPubExplorer extends ImmutablePureComponent {
|
|||
</DismissableBanner>
|
||||
|
||||
<div className={`${darkMode ? 'dark' : ''}`}>
|
||||
<Explorer initialValue={data} initialUrl={url} />
|
||||
<Explorer
|
||||
fetchMethod={async (url) =>
|
||||
fetch('/api/v1/json_ld?' + new URLSearchParams({ url }).toString())
|
||||
}
|
||||
initialValue={data}
|
||||
initialUrl={url}
|
||||
/>
|
||||
</div>
|
||||
</Column>
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue