From eb632e2c29c1ecf2958b7fa4e643625bd5da19d2 Mon Sep 17 00:00:00 2001 From: Inga Lovinde <52715130+inga-lovinde@users.noreply.github.com> Date: Thu, 4 Dec 2014 13:42:59 +0300 Subject: [PATCH] GitHub moved to pos-github.payonline.ru --- BuildServer/app.js | 3 --- BuildServer/routes/manual.js | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) 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) {