flayre-server/server/db.js

6 lines
146 B
JavaScript
Raw Normal View History

2020-09-01 23:19:30 +00:00
const mysql = require('mysql');
const dbConfig = require('./config.js').dbConfig;
const pool = mysql.createPool(dbConfig);
2020-09-01 23:19:30 +00:00
module.exports = pool