diff --git a/BuildServer/app.js b/BuildServer/app.js index 0db49b7..4208608 100644 --- a/BuildServer/app.js +++ b/BuildServer/app.js @@ -6,9 +6,6 @@ var https = require('https'); var fs = require('fs'); -https.globalAgent.options.ca = https.globalAgent.options.ca || []; -https.globalAgent.options.ca.push(fs.readFileSync("POS-CA.crt")); - var express = require('express'); var routes = require('./routes'); var http = require('http'); diff --git a/BuildServer/routes/manual.js b/BuildServer/routes/manual.js index d9c5044..af398db 100644 --- a/BuildServer/routes/manual.js +++ b/BuildServer/routes/manual.js @@ -6,7 +6,7 @@ exports.get = function (req, res) { exports.post = function (req, res) { var options = req.body; - options.url = "https://github.pos/" + options.owner + "/" + options.reponame; + options.url = "https://pos-github.payonline.ru/" + options.owner + "/" + options.reponame; options.app = req.app; builder.build(options, function (err, result) {