Closed andreyvital closed 5 years ago
It should be validating that we've got a valid URL to be resolved to:
if (item.type === "number") {
metaValue = parseInt(metaValue, 10);
} else if (item.type === "url" && metaValue) {
metaValue = resolveUrl(ctx.url, metaValue);
}
Here: https://github.com/jacktuck/unfurl/blob/master/src/index.ts#L334-L338
Getting:
With: http://cityofcorona.maps.arcgis.com/apps/MapSeries/index.html?appid=6e3b7f35182a45d79d753bc4a6c543e0
Here's what being parsed out as
metadata
: