feat: Add edge runtime configuration to API route

This commit is contained in:
kuekhaoyang
2025-12-21 22:07:17 +08:00
parent c2c5cab4e7
commit 29699df2c9
+2
View File
@@ -5,6 +5,8 @@
import { NextRequest, NextResponse } from 'next/server';
export const runtime = 'edge';
const ACCESS_PASSWORD = process.env.ACCESS_PASSWORD || '';
export async function GET() {