fix #114: add missing type def
This commit is contained in:
1 parent
8a097698be
commit
57a37fd3c1
2 files changed
+1
-1
No files matched your search
@@ -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')
|
||||
|
||||
Reference in new issue
Block a user