Skip to content

Commit bbf774f

Browse files
authored
fix issue#207, Response code 401 (Unauthorized)
1 parent f3a4b4c commit bbf774f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

options.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ var git = {
1818

1919
var options = (function () {
2020
var options = {
21+
host: git.config.get('gitlab.url') || process.env.GITLAB_URL,
2122
url: git.config.get('gitlab.url') || process.env.GITLAB_URL,
2223
token: git.config.get('gitlab.token') || process.env.GITLAB_TOKEN,
2324
};
@@ -54,4 +55,4 @@ var git = {
5455
return options;
5556
})();
5657

57-
module.exports = options
58+
module.exports = options

0 commit comments

Comments
 (0)