Skip to content

Commit 80cdafb

Browse files
committed
✨ feat: prod 生产锁定 indexURL 版本
1 parent 8f26a6c commit 80cdafb

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

api/v1/runner.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@ export const config = {
66
runtime: 'edge',
77
};
88

9-
const INDEX_PKG = `@lobehub/lobe-chat-plugins`;
10-
11-
const INDEX_URL = `https://registry.npmmirror.com/${INDEX_PKG}/latest/files`;
9+
const INDEX_URL = `https://registry.npmmirror.com/@lobehub/lobe-chat-plugins/~1.4/files`;
1210

1311
export default async (req: Request) => {
1412
if (req.method !== 'POST') return new Response('Method Not Allowed', { status: 405 });

0 commit comments

Comments
 (0)