Skip to content

Commit 7e2aba8

Browse files
committed
Fix open after running codebox
1 parent bcf222c commit 7e2aba8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/codebox.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ program
6767
});
6868
})
6969
.then(function(email) {
70-
var token = users[email] || Math.random().toString(36).substring(7);
71-
var url = "http://localhost/"+program.port;
70+
var token = opts.users[email] || Math.random().toString(36).substring(7);
71+
var url = "http://localhost/"+opts.port;
7272

7373
console.log("\nCodebox is running at", url);
7474

0 commit comments

Comments
 (0)