update embedly referrer param

This commit is contained in:
Thomas Zarebczan 2022-01-05 10:58:23 -05:00 committed by GitHub
parent 336c9288bf
commit d4866b09bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -120,7 +120,7 @@ async function getOEmbed(ctx) {
const { claim, error } = await getClaim(urlQuery); const { claim, error } = await getClaim(urlQuery);
if (error) return error; if (error) return error;
const referrerQuery = getParameterByName('r', requestUrl); const referrerQuery = getParameterByName('referrer', requestUrl);
const oEmbedData = generateOEmbedData(claim, referrerQuery); const oEmbedData = generateOEmbedData(claim, referrerQuery);
const formatQuery = getParameterByName('format', requestUrl); const formatQuery = getParameterByName('format', requestUrl);