mirror of
https://github.com/neynarxyz/create-farcaster-mini-app.git
synced 2025-11-16 16:18:55 -05:00
cleanup
This commit is contained in:
parent
f040e9dcf9
commit
853c63e024
@ -9,8 +9,4 @@ This is a [NextJS](https://nextjs.org/) + TypeScript + React app.
|
|||||||
To create a new frames project, run:
|
To create a new frames project, run:
|
||||||
```{bash}
|
```{bash}
|
||||||
npx frames-v2-quickstart
|
npx frames-v2-quickstart
|
||||||
```
|
```
|
||||||
|
|
||||||
## TODO
|
|
||||||
* try ngrok locally, then integrate with localtunnel if possible
|
|
||||||
* ask for seed phrase in setup and generate manifest
|
|
||||||
@ -13,14 +13,9 @@ export default async function RootLayout({
|
|||||||
children,
|
children,
|
||||||
}: Readonly<{
|
}: Readonly<{
|
||||||
children: React.ReactNode;
|
children: React.ReactNode;
|
||||||
}>) {
|
}>) {
|
||||||
console.log('Environment variables:');
|
|
||||||
console.log('NEXT_PUBLIC_URL:', process.env.NEXT_PUBLIC_URL);
|
|
||||||
console.log('NEXTAUTH_URL:', process.env.NEXTAUTH_URL);
|
|
||||||
|
|
||||||
const session = await getSession()
|
const session = await getSession()
|
||||||
console.log('Session:', session);
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
@ -9,7 +9,6 @@ export const size = {
|
|||||||
export const contentType = "image/png";
|
export const contentType = "image/png";
|
||||||
|
|
||||||
// dynamically generated OG image for frame preview
|
// dynamically generated OG image for frame preview
|
||||||
// TODO: make this dynamic with user info (like robin's example)
|
|
||||||
export default async function Image() {
|
export default async function Image() {
|
||||||
return new ImageResponse(
|
return new ImageResponse(
|
||||||
(
|
(
|
||||||
|
|||||||
@ -63,7 +63,6 @@ export const authOptions: AuthOptions = {
|
|||||||
});
|
});
|
||||||
|
|
||||||
const domain = getDomainFromUrl(process.env.NEXTAUTH_URL);
|
const domain = getDomainFromUrl(process.env.NEXTAUTH_URL);
|
||||||
console.log('Using domain for auth:', domain);
|
|
||||||
|
|
||||||
const verifyResponse = await appClient.verifySignInMessage({
|
const verifyResponse = await appClient.verifySignInMessage({
|
||||||
message: credentials?.message as string,
|
message: credentials?.message as string,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user