This commit is contained in:
newtbot
2023-12-29 02:21:28 +08:00
parent 990fa8ff34
commit 3913d0d2f7
15 changed files with 118 additions and 124 deletions

View File

@@ -15,8 +15,8 @@ const sequelize = new Sequelize(
ssl: {
ca: fs.readFileSync(path.resolve(__dirname, '../cert/DigiCertGlobalRootCA.crt.pem')),
}
}
}
},
}
);
sequelize.authenticate().then(() => {
@@ -26,3 +26,4 @@ sequelize.authenticate().then(() => {
});
module.exports = { sequelize };