Skip to content

Commit

Permalink
Switch to https github urls.
Browse files Browse the repository at this point in the history
  • Loading branch information
brendandahl committed Jan 25, 2022
1 parent 32179b5 commit 001c01c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ app.post('/', function(req, res) {
private_dir: path.resolve(config.private_dir+'/'+id),
public_dir: path.resolve(config.public_dir+'/'+id),
public_url: 'http://'+config.host+':'+config.port+'/'+id,
base_url: 'git://github.com/'+config.repo+'.git',
base_url: 'https://github.com/'+config.repo+'.git',
base_ref: pull.base.ref,
head_url: pull.head.repo.git_url,
head_ref: pull.head.ref,
Expand Down Expand Up @@ -405,7 +405,7 @@ app.post('/', function(req, res) {
public_dir: path.resolve(config.public_dir+'/'+id),
public_url: 'http://'+config.host+':'+config.port+'/'+id,
base_url: null,
head_url: 'git://github.com/'+config.repo+'.git',
head_url: 'https://github.com/'+config.repo+'.git',
head_ref: ref,
head_sha: payload.head_commit.id,
debug: global.debug
Expand Down Expand Up @@ -445,7 +445,7 @@ app.post('/', function(req, res) {
public_dir: path.resolve(config.public_dir+'/'+id),
public_url: 'http://'+config.host+':'+config.port+'/'+id,
base_url: null,
head_url: 'git://github.com/'+config.repo+'.git',
head_url: 'https://github.com/'+config.repo+'.git',
head_ref: null,
head_sha: 'tags/' + payload.release.tag_name,
debug: global.debug,
Expand Down

0 comments on commit 001c01c

Please sign in to comment.