vn-rfid/db/connect.js

5 lines
132 B
JavaScript
Raw Permalink Normal View History

2023-01-24 09:11:58 +00:00
import mysql from 'mysql2/promise';
2023-01-24 14:10:39 +00:00
import getConfig from '../util/getConfig.js';
export default mysql.createPool(getConfig().db);
2023-01-24 09:11:58 +00:00