修复 token 任务脚本路径,容器启动 bot

This commit is contained in:
whyour
2023-05-13 01:10:49 +08:00
parent 8b7bef097c
commit 41521f1d08
6 changed files with 21 additions and 11 deletions
+2 -1
View File
@@ -1,9 +1,10 @@
import { Sequelize, Transaction } from 'sequelize';
import config from '../config/index';
import { join } from 'path';
export const sequelize = new Sequelize({
dialect: 'sqlite',
storage: `${config.dbPath}database.sqlite`,
storage: join(config.dbPath, 'database.sqlite'),
logging: false,
retry: {
max: 10,