Commit f699061d by Archer Committed by GitHub

更新 plugin.ts (#3163)

parent 3f72f885
...@@ -60,7 +60,6 @@ export const getSystemPluginCb = async () => { ...@@ -60,7 +60,6 @@ export const getSystemPluginCb = async () => {
if (isProduction && global.systemPluginCb) return global.systemPluginCb; if (isProduction && global.systemPluginCb) return global.systemPluginCb;
try { try {
await getSystemPlugins();
global.systemPluginCb = {}; global.systemPluginCb = {};
global.systemPluginCb = FastGPTProUrl ? await getCommercialCb() : await getCommunityCb(); global.systemPluginCb = FastGPTProUrl ? await getCommercialCb() : await getCommunityCb();
return global.systemPluginCb; return global.systemPluginCb;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment