fix #114: add missing type def

This commit is contained in:
lyc8503 committed 2025-05-31 01:20:32 +08:00
1 parent 8a097698be
commit 57a37fd3c1
2 files changed
+1 -1

No files matched your search

-1
View File
@@ -3,7 +3,6 @@ import type { NextRequest } from 'next/server'
import { workerConfig } from './uptime.config'
export async function middleware(request: NextRequest) {
// @ts-ignore
const passwordProtection = workerConfig.passwordProtection
if (passwordProtection) {
const authHeader = request.headers.get('Authorization')