Skip to content

Commit

Permalink
🐛 fix: fix gateway on edge runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinxx committed Dec 13, 2023
1 parent fdf5bf7 commit 7b7f3e8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/app/api/plugins/route.ts

This file was deleted.

5 changes: 5 additions & 0 deletions src/pages/api/plugins.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { createGatewayOnNodeRuntime } from '@lobehub/chat-plugins-gateway';

import { PLUGINS_INDEX_URL } from '@/const/url';

export default createGatewayOnNodeRuntime({ pluginsIndexUrl: PLUGINS_INDEX_URL });

0 comments on commit 7b7f3e8

Please sign in to comment.