vue-intergrall-plugins 0.0.185 → 0.0.186
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -12220,7 +12220,14 @@ var InteratividadeBotoes = __vue_component__$7;
|
|
|
12220
12220
|
function getPreview(link) {
|
|
12221
12221
|
try {
|
|
12222
12222
|
let url = '';
|
|
12223
|
-
|
|
12223
|
+
console.log(link);
|
|
12224
|
+
getLinkPreview(link, {
|
|
12225
|
+
headers: {
|
|
12226
|
+
"Access-Control-Allow-Origin": "*"
|
|
12227
|
+
}
|
|
12228
|
+
}).then(data => {
|
|
12229
|
+
console.log(data);
|
|
12230
|
+
|
|
12224
12231
|
if (data.images && data.images.length > 0) {
|
|
12225
12232
|
url = data.images;
|
|
12226
12233
|
return url;
|