|
|
@ -49,7 +49,6 @@ module.exports = {
|
|
|
|
self._repo.path = appconfig.paths.repo
|
|
|
|
self._repo.path = appconfig.paths.repo
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// -> Initialize repository
|
|
|
|
// -> Initialize repository
|
|
|
|
|
|
|
|
|
|
|
|
self.onReady = self._initRepo(appconfig)
|
|
|
|
self.onReady = self._initRepo(appconfig)
|
|
|
@ -57,9 +56,9 @@ module.exports = {
|
|
|
|
|
|
|
|
|
|
|
|
if (appconfig.git) {
|
|
|
|
if (appconfig.git) {
|
|
|
|
// Set repo branch
|
|
|
|
// Set repo branch
|
|
|
|
self._repo.branch = appconfig.git.branch || 'master';
|
|
|
|
self._repo.branch = appconfig.git.branch || 'master'
|
|
|
|
// Define signature
|
|
|
|
// Define signature
|
|
|
|
self._signature.email = appconfig.git.serverEmail || 'wiki@example.com';
|
|
|
|
self._signature.email = appconfig.git.serverEmail || 'wiki@example.com'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
return self
|
|
|
|
return self
|
|
|
|