Update httpInterface.js
This commit is contained in:
1 parent
45bf1de5eb
commit
a134662df0
1 file changed
+4
@@ -535,6 +535,10 @@ exports.newHttpInterface = function newHttpInterface(WEB_SERVER, DATA_FILE_SERVE
|
||||
const git = simpleGit(options)
|
||||
const commitMessage = unescape(requestParameters[3])
|
||||
|
||||
let remotes = git.getRemotes(true)
|
||||
console.log('remotes list: ', JSON.stringify(remotes))
|
||||
respondWithContent(JSON.stringify(global.DEFAULT_OK_RESPONSE), httpResponse)
|
||||
return
|
||||
git
|
||||
.add('./*')
|
||||
.commit(commitMessage)
|
||||
|
||||
Reference in new issue
Block a user