Skip to content

Commit

Permalink
✨ feat: prod 生产锁定 indexURL 版本
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinxx committed Aug 18, 2023
1 parent 8f26a6c commit 80cdafb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions api/v1/runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 });
Expand Down

0 comments on commit 80cdafb

Please sign in to comment.