From 089a5ad2b0eedf12650c692d879b9bb27a46e94b Mon Sep 17 00:00:00 2001 From: lucas-neynar Date: Fri, 21 Mar 2025 14:45:18 -0700 Subject: [PATCH] fix: https prefix for manifest fields --- package.json | 2 +- scripts/build.js | 8 ++++---- scripts/deploy.js | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 9ce55d1..08a9617 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "create-neynar-farcaster-frame", - "version": "1.2.0", + "version": "1.2.1", "type": "module", "files": [ "bin/index.js" diff --git a/scripts/build.js b/scripts/build.js index c818b0a..b787721 100755 --- a/scripts/build.js +++ b/scripts/build.js @@ -136,11 +136,11 @@ async function generateFarcasterMetadata(domain, accountAddress, seedPhrase, web frame: { version: "1", name: process.env.NEXT_PUBLIC_FRAME_NAME, - iconUrl: `${domain}/icon.png`, - homeUrl: domain, - imageUrl: `${domain}/opengraph-image`, + iconUrl: `https://${domain}/icon.png`, + homeUrl: `https://${domain}`, + imageUrl: `https://${domain}/opengraph-image`, buttonTitle: process.env.NEXT_PUBLIC_FRAME_BUTTON_TEXT, - splashImageUrl: `${domain}/splash.png`, + splashImageUrl: `https://${domain}/splash.png`, splashBackgroundColor: "#f7f7f7", webhookUrl, }, diff --git a/scripts/deploy.js b/scripts/deploy.js index 2945e9f..039963c 100755 --- a/scripts/deploy.js +++ b/scripts/deploy.js @@ -53,7 +53,7 @@ async function generateFarcasterMetadata(domain, accountAddress, seedPhrase, web version: "1", name: process.env.NEXT_PUBLIC_FRAME_NAME?.trim(), iconUrl: `https://${trimmedDomain}/icon.png`, - homeUrl: trimmedDomain, + homeUrl: `https://${trimmedDomain}`, imageUrl: `https://${trimmedDomain}/opengraph-image`, buttonTitle: process.env.NEXT_PUBLIC_FRAME_BUTTON_TEXT?.trim(), splashImageUrl: `https://${trimmedDomain}/splash.png`,