vn-rfid/db/connectMaster.js

5 lines
144 B
JavaScript
Raw Normal View History

2024-03-04 10:42:48 +00:00
import mysql from 'mysql2/promise';
import getConfig from '../util/getConfig.js';
export default mysql.createPool(getConfig('production').db);