mirror of
https://github.com/neynarxyz/create-farcaster-mini-app.git
synced 2025-12-16 06:12:31 -05:00
add initial demo app
This commit is contained in:
19
src/app/.well-known/frames.json/route.ts
Normal file
19
src/app/.well-known/frames.json/route.ts
Normal file
@@ -0,0 +1,19 @@
|
||||
export async function GET() {
|
||||
const appUrl = process.env.NEXT_PUBLIC_URL;
|
||||
|
||||
const config = {
|
||||
config: {
|
||||
version: "0.0.0",
|
||||
name: "Frames v2 Demo",
|
||||
icon: `${appUrl}/icon.png`,
|
||||
splashImage: `${appUrl}/splash.png`,
|
||||
splashBackgroundColor: "#f7f7f7",
|
||||
homeUrl: appUrl,
|
||||
fid: 0,
|
||||
key: "",
|
||||
signature: "",
|
||||
},
|
||||
};
|
||||
|
||||
return Response.json(config);
|
||||
}
|
||||
Reference in New Issue
Block a user