更新 plugin.ts (#3163)
This commit is contained in:
parent
3f72f88591
commit
f699061dea
@ -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;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user