Commit f4303093 by Arjun Jhukal

minor change

parent 2e3f804d
......@@ -2,9 +2,10 @@ import { NextRequest, NextResponse } from "next/server";
export async function GET(
request: NextRequest,
{ params }: { params: { path: string[] } }
{ params }: { params: Promise<{ path: string[] }> }
) {
const path = params.path.join("/");
const { path: segments } = await params;
const path = segments.join("/");
const search = request.nextUrl.search;
const targetUrl = `https://dfl.acuitytec.com/${path}${search}`;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment