This repository has been archived on 2025-02-19. You can view files and clone it, but cannot push or open issues or pull requests.
Files
wg-dashboard/app/servers/[id]/api/route.ts
2024-02-03 21:12:51 -03:00

10 lines
261 B
TypeScript

import { NextRequest, NextResponse } from "next/server";
export const dynamic = 'force-dynamic';
export async function GET(Request: NextRequest, {params: { id }}) {
return NextResponse.json({
url: Request.url,
headers: Request.headers,
id
});
}