fix: add runtime

This commit is contained in:
shinya
2025-07-13 20:14:38 +08:00
parent ac6c7d30d0
commit 92642d66c9

View File

@@ -5,6 +5,8 @@ import { getRequestContext } from '@cloudflare/next-on-pages';
import { AdminConfig } from './admin.types';
import { Favorite, IStorage, PlayRecord } from './types';
export const runtime = 'edge';
// 搜索历史最大条数
const SEARCH_HISTORY_LIMIT = 20;