feat: md数学表达式;perf: 字体样式;fix: 发送验证码错误提醒。聊天二次加载

This commit is contained in:
Archer
2023-03-11 16:56:27 +08:00
parent 9f96593136
commit fd8135f50c
12 changed files with 91 additions and 82 deletions

View File

@@ -11,6 +11,7 @@ export async function connectToDatabase(): Promise<void> {
global.mongodb = 'connecting';
console.log('connect mongo');
try {
mongoose.set('strictQuery', true);
global.mongodb = await mongoose.connect(process.env.MONGODB_URI as string, {
bufferCommands: true,
dbName: 'doc_gpt',