fix: load envs

This commit is contained in:
crazywoola
2023-06-21 17:22:32 +08:00
parent 4b21c0cc82
commit 32908f64fe
-2
View File
@@ -1,8 +1,6 @@
import { NextResponse } from 'next/server'
import type { NextRequest } from 'next/server'
import { v4 } from 'uuid'
import dotenv from 'dotenv'
dotenv.config()
export function middleware(request: NextRequest) {
const response = NextResponse.next()