mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 05:12:39 +00:00
更新 plugin.ts (#3163)
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user