Skip to content

created route for OG image responce#84

Open
Rohittomar01 wants to merge 43 commits intodevfrom
OG-Image
Open

created route for OG image responce#84
Rohittomar01 wants to merge 43 commits intodevfrom
OG-Image

Conversation

@Rohittomar01
Copy link
Contributor

No description provided.

@vercel
Copy link

vercel bot commented Apr 13, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
echoes ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 22, 2024 7:35pm

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use tailwind and fix the styling

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

okay


export async function GET(request: Request) {
try {
const urlParams = new URLSearchParams(request.url.split("?")[1]); // Splitting URL to get query params
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this line should be in a try catch

description: "echoes slug",
openGraph: {
title: "Echoes",
description: "Echoes Slug",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use the actual slug

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is this file needed?

searchParams: { [key: string]: string | string[] | undefined };
};

let chattitle: any = "";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is it here? and why any?

}
};

// export const saveToDBForImage = async ({
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@PrinceBaghel258025 no issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants