Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

feat: add business configuration endpoints to lambda router

YuTengjingc923e0a71637
diff --git a/src/business/server/lambda-routers/config.ts b/src/business/server/lambda-routers/config.ts
new file mode 100644
index 00000000000..1a99e53f4a1
--- /dev/null
+++ b/src/business/server/lambda-routers/config.ts
@@ -0,0 +1 @@
+export const businessConfigEndpoints = {};
diff --git a/src/server/routers/lambda/config/index.ts b/src/server/routers/lambda/config/index.ts
index 9deaad81e03..e327981eeed 100644
--- a/src/server/routers/lambda/config/index.ts
+++ b/src/server/routers/lambda/config/index.ts
@@ -1,5 +1,6 @@
import debug from 'debug';
+import { businessConfigEndpoints } from '@/business/server/lambda-routers/config';
import { getServerFeatureFlagsStateFromEdgeConfig } from '@/config/featureFlags';
import { publicProcedure, router } from '@/libs/trpc/lambda';
import { getServerDefaultAgentConfig, getServerGlobalConfig } from '@/server/globalConfig';
@@ -34,4 +35,6 @@ export const configRouter = router({
return result;
}),
+
+ ...businessConfigEndpoints,
});