fix: cf build

This commit is contained in:
shinya
2025-07-29 18:41:02 +08:00
parent d954dd2abc
commit f84e03c5e3
3 changed files with 4 additions and 2 deletions

View File

@@ -1 +1 @@
20250729183551 20250729184103

View File

@@ -6,6 +6,8 @@ import { getAuthInfoFromCookie } from '@/lib/auth';
import { db } from '@/lib/db'; import { db } from '@/lib/db';
import { SkipConfig } from '@/lib/types'; import { SkipConfig } from '@/lib/types';
export const runtime = 'edge';
export async function GET(request: NextRequest) { export async function GET(request: NextRequest) {
try { try {
const authInfo = getAuthInfoFromCookie(request); const authInfo = getAuthInfoFromCookie(request);

View File

@@ -2,7 +2,7 @@
'use client'; 'use client';
const CURRENT_VERSION = '20250729183551'; const CURRENT_VERSION = '20250729184103';
// 版本检查结果枚举 // 版本检查结果枚举
export enum UpdateStatus { export enum UpdateStatus {