Skip to content

Commit dc0bf76

Browse files
authored
Use https instead of http as default gitlab value
Use HTTPS instead of HTTP as the default GitLab value. The problem was that atachment downloading didn't work with the default `http` value after switching to `https` the attachment downloading started working.
1 parent f3a715e commit dc0bf76

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/gitlabHelper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export class GitlabHelper {
3737
this.gitlabUrl = gitlabSettings.url;
3838
this.gitlabToken = gitlabSettings.token;
3939
this.gitlabProjectId = gitlabSettings.projectId;
40-
this.host = gitlabSettings.url ? gitlabSettings.url : 'http://gitlab.com';
40+
this.host = gitlabSettings.url ? gitlabSettings.url : 'https://gitlab.com';
4141
this.host = this.host.endsWith('/')
4242
? this.host.substring(0, this.host.length - 1)
4343
: this.host;

0 commit comments

Comments
 (0)