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