修正 vercal 佈署失敗問題
This commit is contained in:
@@ -3,7 +3,13 @@ import { dbConfig } from './config';
|
||||
|
||||
// 建立連接池
|
||||
const pool = mysql.createPool({
|
||||
...dbConfig,
|
||||
host: dbConfig.host,
|
||||
port: dbConfig.port,
|
||||
user: dbConfig.user,
|
||||
password: dbConfig.password,
|
||||
database: dbConfig.database,
|
||||
charset: dbConfig.charset,
|
||||
timezone: dbConfig.timezone,
|
||||
waitForConnections: true,
|
||||
connectionLimit: 10,
|
||||
queueLimit: 0,
|
||||
|
Reference in New Issue
Block a user