Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Commit

Permalink
Use port 5000 for login / ignore it on Gitpod
Browse files Browse the repository at this point in the history
  • Loading branch information
vgrichina committed Apr 1, 2020
1 parent 58f91f2 commit c710336
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ tasks:
github:
prebuilds:
addBadge: true
ports:
- port: 5000-5010
onOpen: ignore
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ exports.login = async function(options) {

// find a callback URL on the local machine
try {
tempUrl = await capture.callback();
tempUrl = await capture.callback(5000);
} catch (error) {
// console.error("Failed to find suitable port.", error.message)
// TODO: Is it? Try triggering error
Expand Down

0 comments on commit c710336

Please sign in to comment.