Skip to content
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

created route for OG image responce #84

Open
wants to merge 43 commits into
base: dev
Choose a base branch
from
Open

created route for OG image responce #84

wants to merge 43 commits into from

Conversation

Rohittomar01
Copy link
Contributor

No description provided.

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?

@@ -685,75 +685,3 @@ export const saveToDB = async ({
console.log("error in saving to db", error);
}
};

// 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.

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