This commit is contained in:
Martti Malmi 2023-01-24 08:01:07 +02:00
parent c02222a093
commit e028605b14
2 changed files with 5 additions and 3 deletions

View File

@ -125,7 +125,9 @@ class FeedMessageForm extends MessageForm {
})
.then(async (response) => {
const text = await response.text();
const url = text.match(/https:\/\/nostr\.build\/i\/nostr\.build_[a-z0-9]{64}\.[a-zA-Z]+/i);
const url = text.match(
/https:\/\/nostr\.build\/i\/nostr\.build_[a-z0-9]{64}\.[a-zA-Z]+/i,
);
console.log('url', url);
if (url) {
a[i].url = url[0];

View File

@ -6375,9 +6375,9 @@ growly@^1.3.0:
resolved "https://registry.yarnpkg.com/growly/-/growly-1.3.0.tgz#f10748cbe76af964b7c96c93c6bcc28af120c081"
integrity sha512-+xGQY0YyAWCnqy7Cd++hc2JqMYzlm0dG30Jd0beaA64sROr8C4nt8Yc9V5Ro3avlSUDTN0ulqP/VBKi1/lLygw==
gun@^0.2020.1238, "gun@git+https://github.com/mmalmi/gun.git":
gun@^0.2020.1238, "gun@https://github.com/mmalmi/gun":
version "0.2020.1238"
resolved "git+https://github.com/mmalmi/gun.git#759784f9ce96044e47a83176fa1392dea14aef2f"
resolved "https://github.com/mmalmi/gun#759784f9ce96044e47a83176fa1392dea14aef2f"
dependencies:
ws "^7.2.1"
optionalDependencies: