From fe04e92e04edc6faefa87a3121cc287544df32bd Mon Sep 17 00:00:00 2001 From: thehrz Date: Sat, 17 Aug 2024 09:59:28 +0800 Subject: [PATCH] pref: update Footer --- src/app/api/myip/route.ts | 5 ----- src/app/page.tsx | 2 +- src/components/Footer.tsx | 3 +-- 3 files changed, 2 insertions(+), 8 deletions(-) delete mode 100644 src/app/api/myip/route.ts diff --git a/src/app/api/myip/route.ts b/src/app/api/myip/route.ts deleted file mode 100644 index 6e8020b..0000000 --- a/src/app/api/myip/route.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { NextRequest, NextResponse } from "next/server"; - -export async function GET(request: NextRequest) { - return NextResponse.json(request.headers.get('X-Forwarded-For')) -} \ No newline at end of file diff --git a/src/app/page.tsx b/src/app/page.tsx index 587d019..a6b1b3b 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -5,7 +5,7 @@ export default function Home() {
-

ipv6-test

+

免费IPv6测试

免费IPv6测试服务

diff --git a/src/components/Footer.tsx b/src/components/Footer.tsx index 950e468..36246de 100644 --- a/src/components/Footer.tsx +++ b/src/components/Footer.tsx @@ -3,8 +3,7 @@ export default function Footer() {