mirror of
https://github.com/neynarxyz/create-farcaster-mini-app.git
synced 2025-12-08 10:22:31 -05:00
refactor: update frame to mini app and fix dark mode
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { Metadata } from "next";
|
||||
import App from "./app";
|
||||
import { APP_NAME, APP_DESCRIPTION, APP_OG_IMAGE_URL } from "~/lib/constants";
|
||||
import { getFrameEmbedMetadata } from "~/lib/utils";
|
||||
import { getMiniAppEmbedMetadata } from "~/lib/utils";
|
||||
|
||||
export const revalidate = 300;
|
||||
|
||||
@@ -14,7 +14,7 @@ export async function generateMetadata(): Promise<Metadata> {
|
||||
images: [APP_OG_IMAGE_URL],
|
||||
},
|
||||
other: {
|
||||
"fc:frame": JSON.stringify(getFrameEmbedMetadata()),
|
||||
"fc:frame": JSON.stringify(getMiniAppEmbedMetadata()),
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user