mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
git-subtree-dir: turbopack git-subtree-mainline:344ddbf093git-subtree-split:fb033c4917
10 lines
181 B
JavaScript
10 lines
181 B
JavaScript
import { NextResponse } from "next/server";
|
|
|
|
export const GET = (req) => {
|
|
return NextResponse.json({
|
|
pathname: req.nextUrl.pathname,
|
|
});
|
|
};
|
|
|
|
export const runtime = "edge";
|