Skip to content

Commit

Permalink
fix: move db config file to database directory
Browse files Browse the repository at this point in the history
  • Loading branch information
ducphamle2 committed Jun 8, 2020
1 parent 5c3872d commit effedf1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
File renamed without changes.
2 changes: 1 addition & 1 deletion database/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var mysql = require('mysql');
var config = require('../config/config')
var config = require('./config')
var connection = mysql.createConnection(config.development);
module.exports = connection;

0 comments on commit effedf1

Please sign in to comment.