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.
|
@@ -11131,7 +11131,14 @@ var __vue_component__$7 = /*#__PURE__*/normalizeComponent({
|
|
|
11131
11131
|
var InteratividadeBotoes = __vue_component__$7;function getPreview(link) {
|
|
11132
11132
|
try {
|
|
11133
11133
|
var url = '';
|
|
11134
|
-
|
|
11134
|
+
console.log(link);
|
|
11135
|
+
linkPreviewJs.getLinkPreview(link, {
|
|
11136
|
+
headers: {
|
|
11137
|
+
"Access-Control-Allow-Origin": "*"
|
|
11138
|
+
}
|
|
11139
|
+
}).then(function (data) {
|
|
11140
|
+
console.log(data);
|
|
11141
|
+
|
|
11135
11142
|
if (data.images && data.images.length > 0) {
|
|
11136
11143
|
url = data.images;
|
|
11137
11144
|
return url;
|