Add default imageUrl and buttonTitle

This commit is contained in:
Christian Mladenov 2024-12-16 11:45:03 -08:00 committed by lucas-neynar
parent c0f11d16ce
commit b81febcff2
No known key found for this signature in database

View File

@ -10,12 +10,14 @@ export async function GET() {
"MHhiNDIwMzQ1MGZkNzgzYTExZjRiOTllZTFlYjA3NmMwOTdjM2JkOTY1NGM2ODZjYjkyZTAyMzk2Y2Q0YjU2MWY1MjY5NjI5ZGQ5NTliYjU0YzEwOGI4OGVmNjdjMTVlZTdjZDc2YTRiMGU5NzkzNzA3YzkxYzFkOWFjNTg0YmQzNjFi", "MHhiNDIwMzQ1MGZkNzgzYTExZjRiOTllZTFlYjA3NmMwOTdjM2JkOTY1NGM2ODZjYjkyZTAyMzk2Y2Q0YjU2MWY1MjY5NjI5ZGQ5NTliYjU0YzEwOGI4OGVmNjdjMTVlZTdjZDc2YTRiMGU5NzkzNzA3YzkxYzFkOWFjNTg0YmQzNjFi",
}, },
frame: { frame: {
version: "0.0.0", version: "1",
name: "Frames v2 Demo", name: "Frames v2 Demo",
iconUrl: `${appUrl}/icon.png`, iconUrl: `${appUrl}/icon.png`,
homeUrl: appUrl,
imageUrl: `${appUrl}/frames/hello/opengraph-image`,
buttonTitle: "Launch Frame",
splashImageUrl: `${appUrl}/splash.png`, splashImageUrl: `${appUrl}/splash.png`,
splashBackgroundColor: "#f7f7f7", splashBackgroundColor: "#f7f7f7",
homeUrl: appUrl,
webhookUrl: `${appUrl}/api/webhook`, webhookUrl: `${appUrl}/api/webhook`,
}, },
}; };