зеркало из https://github.com/Azure/azch-frontend.git
Revert "Added http/https protocol detection"
This reverts commit f01d912212
.
This commit is contained in:
Родитель
86eb75ba46
Коммит
37d8e98823
|
@ -3,8 +3,7 @@ var router = express.Router();
|
|||
|
||||
/* GET home page. */
|
||||
router.get('/', function(req, res, next) {
|
||||
var protocol = req.secure ? "https" : "http";
|
||||
res.render('index', { title: 'Orders', captureOrderService: protocol+"://"+process.env.CAPTUREORDERSERVICEIP+"/v1/order" });
|
||||
res.render('index', { title: 'Orders', captureOrderService: "http://"+process.env.CAPTUREORDERSERVICEIP+"/v1/order" });
|
||||
});
|
||||
|
||||
module.exports = router;
|
||||
|
|
Загрузка…
Ссылка в новой задаче