19 lines
427 B
TypeScript
19 lines
427 B
TypeScript
import { NextResponse } from 'next/server'
|
|
|
|
export async function GET() {
|
|
const appUrl = process.env.NEXT_PUBLIC_APP_URL || 'http://localhost:3000'
|
|
|
|
const manifest = {
|
|
frame: {
|
|
version: "1",
|
|
name: "PollCelo",
|
|
iconUrl: `${appUrl}/icon.jpg`,
|
|
splashImageUrl: `${appUrl}/splash.jpg`,
|
|
splashBackgroundColor: "#35D07F",
|
|
homeUrl: appUrl,
|
|
}
|
|
}
|
|
|
|
return NextResponse.json(manifest)
|
|
}
|