mirror of
https://github.com/neynarxyz/create-farcaster-mini-app.git
synced 2025-11-19 17:36:09 -05:00
cleanup
This commit is contained in:
@@ -13,14 +13,9 @@ export default async function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
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()
|
||||
console.log('Session:', session);
|
||||
|
||||
|
||||
return (
|
||||
<html lang="en">
|
||||
<body>
|
||||
|
||||
@@ -9,7 +9,6 @@ export const size = {
|
||||
export const contentType = "image/png";
|
||||
|
||||
// dynamically generated OG image for frame preview
|
||||
// TODO: make this dynamic with user info (like robin's example)
|
||||
export default async function Image() {
|
||||
return new ImageResponse(
|
||||
(
|
||||
|
||||
@@ -63,7 +63,6 @@ export const authOptions: AuthOptions = {
|
||||
});
|
||||
|
||||
const domain = getDomainFromUrl(process.env.NEXTAUTH_URL);
|
||||
console.log('Using domain for auth:', domain);
|
||||
|
||||
const verifyResponse = await appClient.verifySignInMessage({
|
||||
message: credentials?.message as string,
|
||||
|
||||
Reference in New Issue
Block a user