Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Correctly part MySQL hostnames. Fixes #8.

  • Loading branch information...
commit 3cb4b803c89c13473c70ef14e1ee6d93653811f1 1 parent 4d855f0
@callahad callahad authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/db.js
View
2  lib/db.js
@@ -13,7 +13,7 @@ db_name = 'eyedeeme';
if (process.env['MYSQL_URL']) {
var u = url.parse(process.env['MYSQL_URL']);
- db_host = u.host;
+ db_host = u.hostName;
db_port = u.port || db_port;
db_user = u.auth.split(':')[0];
db_pass = u.auth.split(':')[1];
Please sign in to comment.
Something went wrong with that request. Please try again.