add icon url to input and fix splash image url default

This commit is contained in:
lucas-neynar
2025-03-13 15:37:41 -07:00
parent 722d938ae5
commit ace806fcb9
4 changed files with 18 additions and 81 deletions

View File

@@ -67,7 +67,7 @@ export async function generateFarcasterMetadata() {
frame: {
version: "1",
name: process.env.NEXT_PUBLIC_FRAME_NAME || "Frames v2 Demo",
iconUrl: `${appUrl}/icon.png`,
iconUrl: process.env.NEXT_PUBLIC_FRAME_ICON_IMAGE_URL || `${appUrl}/icon.png`,
homeUrl: appUrl,
imageUrl: `${appUrl}/opengraph-image`,
buttonTitle: process.env.NEXT_PUBLIC_FRAME_BUTTON_TEXT || "Launch Frame",