feat(post): Adds GitHub Enterprise support
Adds githubApiPathPrefix option for GitHub Enterprise APIs. Removes parse-github-repo-url check from verify to support custom GitHub URLs closes #146
This commit is contained in:
+2
-1
@@ -14,7 +14,8 @@ module.exports = function (config, cb) {
|
||||
version: '3.0.0',
|
||||
port: ghConfig.port,
|
||||
protocol: (ghConfig.protocol || '').split(':')[0] || null,
|
||||
host: ghConfig.hostname
|
||||
host: ghConfig.hostname,
|
||||
pathPrefix: options.githubApiPathPrefix || null
|
||||
})
|
||||
|
||||
plugins.generateNotes(config, function (err, log) {
|
||||
|
||||
Reference in New Issue
Block a user