Skip to content
Snippets Groups Projects
Commit 90d7ff42 authored by netpro2k's avatar netpro2k
Browse files

Change to reticulum media response

parent e0dbea65
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,7 @@ export const resolveFarsparkUrl = async url => {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ media: { url } })
}).then(r => r.json())).images.raw;
}).then(r => r.json())).raw;
};
const fetchContentType = async url => fetch(url, { method: "HEAD" }).then(r => r.headers.get("content-type"));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment