From 55542e66ad4ee1380fb6850c181f175dc79b6f3e Mon Sep 17 00:00:00 2001 From: Michael Crosby Date: Sun, 23 Jun 2013 09:44:46 -0900 Subject: [PATCH] Update port examples --- README.md | 2 +- js/app.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f9d6f41b7..dc57ccfb5 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ This tells dockerui to use http://192.168.1.9:4243 to communicate to dockerd's R .constant('DOCKER_ENDPOINT', 'http://192.168.1.9') - .constant('DOCKER_PORT', '4243') // Docker port, leave as an empty string if no port is requred. i.e. 4243 + .constant('DOCKER_PORT', ':4243') 3. Make sure you run git submodule update --init to pull down any dependencies ( ace editor ). diff --git a/js/app.js b/js/app.js index c71dc83d0..356c310a6 100644 --- a/js/app.js +++ b/js/app.js @@ -13,6 +13,6 @@ angular.module('dockerui', ['dockerui.services', 'dockerui.filters']) // This is your docker url that the api will use to make requests // You need to set this to the api endpoint without the port i.e. http://192.168.1.9 .constant('DOCKER_ENDPOINT', '/dockerapi') - .constant('DOCKER_PORT', '') // Docker port, leave as an empty string if no port is requred. i.e. 4243 + .constant('DOCKER_PORT', '') // Docker port, leave as an empty string if no port is requred. If you have a port, prefix it with a ':' i.e. :4243 .constant('UI_VERSION', 'v0.2') .constant('DOCKER_API_VERSION', 'v1.2');