-
Notifications
You must be signed in to change notification settings - Fork 3
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
base: dev
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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.
use tailwind and fix the styling
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.
okay
src/app/api/og/route.tsx
Outdated
|
||
export async function GET(request: Request) { | ||
try { | ||
const urlParams = new URLSearchParams(request.url.split("?")[1]); // Splitting URL to get query params |
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.
this line should be in a try catch
src/app/dashboard/[slug]/page.tsx
Outdated
description: "echoes slug", | ||
openGraph: { | ||
title: "Echoes", | ||
description: "Echoes Slug", |
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.
use the actual slug
src/app/robusts.txt
Outdated
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.
why is this file needed?
src/app/dashboard/[slug]/page.tsx
Outdated
searchParams: { [key: string]: string | string[] | undefined }; | ||
}; | ||
|
||
let chattitle: any = ""; |
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.
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 ({ |
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.
@PrinceBaghel258025 no issue?
No description provided.