mirror of
https://github.com/neynarxyz/create-farcaster-mini-app.git
synced 2025-11-16 08:08:56 -05:00
fix embed image paths
This commit is contained in:
parent
06395560df
commit
2524ccf815
@ -14,13 +14,13 @@ export async function generateMetadata({ params }: Props): Promise<Metadata> {
|
||||
|
||||
const frame = {
|
||||
version: "next",
|
||||
imageUrl: `${appUrl}/opengraph-image`,
|
||||
imageUrl: `${appUrl}/frames/hello/${name}/opengraph-image`,
|
||||
button: {
|
||||
title: "Launch Frame",
|
||||
action: {
|
||||
type: "launch_frame",
|
||||
name: "Farcaster Frames v2 Demo",
|
||||
url: `${appUrl}/hello/${name}/`,
|
||||
url: `${appUrl}/frames/hello/${name}/`,
|
||||
splashImageUrl: `${appUrl}/splash.png`,
|
||||
splashBackgroundColor: "#f7f7f7",
|
||||
},
|
||||
|
||||
@ -5,13 +5,13 @@ const appUrl = process.env.NEXT_PUBLIC_URL;
|
||||
|
||||
const frame = {
|
||||
version: "next",
|
||||
imageUrl: `${appUrl}/hello/opengraph-image`,
|
||||
imageUrl: `${appUrl}/frames/hello/opengraph-image`,
|
||||
button: {
|
||||
title: "Launch Frame",
|
||||
action: {
|
||||
type: "launch_frame",
|
||||
name: "Farcaster Frames v2 Demo",
|
||||
url: `${appUrl}/hello/`,
|
||||
url: `${appUrl}/frames/hello/`,
|
||||
splashImageUrl: `${appUrl}/splash.png`,
|
||||
splashBackgroundColor: "#f7f7f7",
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user