From 3c3532b4c505ac896dc523918c245f5d7bc24da8 Mon Sep 17 00:00:00 2001 From: ladventure Date: Wed, 20 Dec 2017 15:13:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gulpfile.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index d433f04..e2091df 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -134,7 +134,7 @@ gulp.task('connect', ['watch'], function() { // lets disable unauthorised TLS issues with kube REST API process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0"; - var kubeBase = process.env.KUBERNETES_MASTER || 'https://192.168.191.120:8443'; + var kubeBase = process.env.KUBERNETES_MASTER || 'http://192.168.191.120:8080'; console.log("==== using KUBERNETES URL: " + kubeBase); var kube = uri(urljoin(kubeBase, 'api')); var kubeapis = uri(urljoin(kubeBase, 'apis')); @@ -249,8 +249,8 @@ gulp.task('connect', ['watch'], function() { targetPath: '/hawtio/git' }, { proto: "http", - port: "8080", - hostname: "127.0.0.1", //hostname:"127.0.0.1" + port: "9001", + hostname: "192.168.191.1", //hostname:"127.0.0.1" path: '/java/console/api', targetPath: "/" }];