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

fix_links #1302

Merged
merged 3 commits into from
Sep 28, 2023
Merged

fix_links #1302

merged 3 commits into from
Sep 28, 2023

Conversation

awtkns
Copy link
Member

@awtkns awtkns commented Sep 28, 2023

No description provided.

@vercel
Copy link

vercel bot commented Sep 28, 2023

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

Name Status Preview Comments Updated (UTC)
agent-gpt ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 28, 2023 5:11am

# Conflicts:
#	next/src/components/console/SourceLink.tsx
@awtkns awtkns merged commit 3bfa569 into main Sep 28, 2023
6 checks passed
Comment on lines +1 to +13
import type { NextFetchEvent, NextRequest } from "next/server";
import { NextResponse } from "next/server";

import extractMetadata from "../../utils/extractMetadata";

export const config = {
runtime: "edge",
};

export default function handler(request: NextRequest, context: NextFetchEvent) {
const { searchParams } = new URL(request.url);
return NextResponse.json(extractMetadata(searchParams.get("url") || ""));
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we still need this file?

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