Compare commits
3 Commits
3697a5d8ea
...
ad20ffe588
| Author | SHA1 | Date | |
|---|---|---|---|
| ad20ffe588 | |||
| 13301dca12 | |||
| e57169a807 |
@@ -1,7 +1,7 @@
|
|||||||
import { NextResponse } from "next/server";
|
import { NextResponse } from "next/server";
|
||||||
import type { NextRequest } from "next/server";
|
import type { NextRequest } from "next/server";
|
||||||
|
|
||||||
export function proxy(request: NextRequest) {
|
export function middleware(request: NextRequest) {
|
||||||
const response = NextResponse.next();
|
const response = NextResponse.next();
|
||||||
|
|
||||||
const url = request.nextUrl.pathname;
|
const url = request.nextUrl.pathname;
|
||||||
Reference in New Issue
Block a user