更新 plugin.ts (#3163)

This commit is contained in:
Archer
2024-11-14 23:11:33 +08:00
committed by shilin66
parent 9fbb5e6f9b
commit 88ca75742d

View File

@@ -60,7 +60,6 @@ export const getSystemPluginCb = async () => {
if (isProduction && global.systemPluginCb) return global.systemPluginCb;
try {
await getSystemPlugins();
global.systemPluginCb = {};
global.systemPluginCb = FastGPTProUrl ? await getCommercialCb() : await getCommunityCb();
return global.systemPluginCb;