Skip to content

Commit

Permalink
fix win
Browse files Browse the repository at this point in the history
  • Loading branch information
Neilpang committed Oct 4, 2021
1 parent 0dc1a9a commit 579a962
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ async function run(token, protocol, port) {
let workingDir = __dirname;
let ngrok = path.join(workingDir, "./ngrok")
if (os.platform() == "win32") {
ngrok += "ngrok.exe";
ngrok = "ngrok.exe";
process.env.path = process.env.path + ";" + workingDir;
}

Expand Down

0 comments on commit 579a962

Please sign in to comment.