Skip to content

Commit 8ed3f8b

Browse files
committed
Adjust GitHub domain.
1 parent 2f5375c commit 8ed3f8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/handler.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ var config = {
1010
};
1111

1212
if (GITHUB_DOMAIN) {
13-
config.host = GITHUB_DOMAIN;
13+
config.host = url.parse(GITHUB_DOMAIN).host;
1414
}
1515

1616
if (GITHUB_API_ENDPOINT) {

0 commit comments

Comments
 (0)