fix: https prefix for manifest fields

This commit is contained in:
lucas-neynar
2025-03-21 14:45:18 -07:00
parent 8ed98b604a
commit 089a5ad2b0
3 changed files with 6 additions and 6 deletions

View File

@@ -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,
},

View File

@@ -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`,