This commit is contained in:
parent
65b25e7ef3
commit
fe04e92e04
@ -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'))
|
||||
}
|
@ -5,7 +5,7 @@ export default function Home() {
|
||||
<div className='max-w-full flex justify-center m-auto'>
|
||||
<div className='hero-content text-center'>
|
||||
<div className='max-w-md'>
|
||||
<h1 className='text-5xl font-bold'>ipv6-test</h1>
|
||||
<h1 className='text-5xl font-bold'>免费IPv6测试</h1>
|
||||
<p className='py-6'>免费IPv6测试服务</p>
|
||||
<button className='btn btn-primary'>探索更多</button>
|
||||
</div>
|
||||
|
@ -3,8 +3,7 @@ export default function Footer() {
|
||||
<footer className='footer footer-center bg-base-300 text-base-content p-4'>
|
||||
<aside>
|
||||
<p>
|
||||
Copyright © {new Date().getFullYear()} - All right reserved by ACME
|
||||
Industries Ltd
|
||||
Copyright © 2024 - All right reserved by thehrz
|
||||
</p>
|
||||
</aside>
|
||||
</footer>
|
||||
|
Loading…
Reference in New Issue
Block a user