mirror of
https://github.com/labring/FastGPT.git
synced 2025-10-22 11:55:07 +00:00
v4.5.1 (#417)
This commit is contained in:
6
packages/service/common/mongo/index.ts
Normal file
6
packages/service/common/mongo/index.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import mongoose from 'mongoose';
|
||||
|
||||
export default mongoose;
|
||||
export * from 'mongoose';
|
||||
|
||||
export const connectionMongo = global.mongodb || mongoose;
|
Reference in New Issue
Block a user