-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
First Test Frame #2
Conversation
packages/client/app/layout.tsx
Outdated
const inter = Inter({ subsets: ['latin'] }); | ||
|
||
export const metadata: Metadata = { | ||
title: 'Create Next App', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this metadata be edited?
console.log('buttonIndex: ', buttonIndex); | ||
|
||
if (buttonIndex === 2) { | ||
return NextResponse.redirect('https://frameception.vercel.app', { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
probably use "NEXT_PUBLIC_URL" here?
import { FrameRequest, getFrameHtmlResponse } from '@coinbase/onchainkit'; | ||
import { NextRequest, NextResponse } from 'next/server'; | ||
|
||
const NEXT_PUBLIC_URL = 'https://frameception.vercel.app'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be an env var?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you change this commit name also LOL (the "first-frame" one)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
preapproving
No description provided.