hata düzeltme
This commit is contained in:
@@ -1,10 +1,11 @@
|
|||||||
import { type NextRequest } from 'next/server'
|
import { type NextRequest } from 'next/server'
|
||||||
import { updateSession } from '@/utils/supabase/middleware'
|
import { updateSession } from '@/utils/supabase/proxy'
|
||||||
|
|
||||||
export async function middleware(request: NextRequest) {
|
export async function proxy(request: NextRequest) {
|
||||||
return await updateSession(request)
|
return await updateSession(request)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
export const config = {
|
export const config = {
|
||||||
matcher: [
|
matcher: [
|
||||||
/*
|
/*
|
||||||
Reference in New Issue
Block a user