diff --git a/api/v1/runner.ts b/api/v1/runner.ts index bff1f0d..c6c91e4 100644 --- a/api/v1/runner.ts +++ b/api/v1/runner.ts @@ -6,9 +6,7 @@ export const config = { runtime: 'edge', }; -const INDEX_PKG = `@lobehub/lobe-chat-plugins`; - -const INDEX_URL = `https://registry.npmmirror.com/${INDEX_PKG}/latest/files`; +const INDEX_URL = `https://registry.npmmirror.com/@lobehub/lobe-chat-plugins/~1.4/files`; export default async (req: Request) => { if (req.method !== 'POST') return new Response('Method Not Allowed', { status: 405 });