fix and update
This commit is contained in:
@@ -3,6 +3,6 @@ import { NextRequest, NextResponse } from 'next/server';
|
||||
export const runtime = 'nodejs';
|
||||
|
||||
export async function GET(request: NextRequest) {
|
||||
const target = new URL('/downloads/android', request.nextUrl.origin);
|
||||
const target = new URL('/downloads', request.nextUrl.origin);
|
||||
return NextResponse.redirect(target, 302);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user