Skip to content

Commit

Permalink
fix: use lowercase username for localtunnel (#310)
Browse files Browse the repository at this point in the history
  • Loading branch information
ocombe authored and bkeepers committed Oct 31, 2017
1 parent d65c238 commit 833a34e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tunnel.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const localtunnel = require('localtunnel')

module.exports = function setupTunnel (subdomain, port, retries = 0) {
if (typeof subdomain !== 'string') {
subdomain = require('os').userInfo().username
subdomain = require('os').userInfo().username.toLowerCase()
}

return new Promise((resolve, reject) => {
Expand Down

0 comments on commit 833a34e

Please sign in to comment.