]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: ng serve bind to 0.0.0.0 22058/head
authorRicardo Marques <rimarques@suse.com>
Thu, 17 May 2018 10:07:52 +0000 (11:07 +0100)
committerRicardo Marques <rimarques@suse.com>
Thu, 17 May 2018 10:07:52 +0000 (11:07 +0100)
This will allow access to ng serve from remote machines

Signed-off-by: Ricardo Marques <rimarques@suse.com>
src/pybind/mgr/dashboard/frontend/package.json

index d15e7ec535c4d75c165e7c0fb9696386667d8d9a..05754a6ce80d5d6aed71040a28bb886ca0297ec7 100644 (file)
@@ -4,7 +4,7 @@
   "license": "MIT",
   "scripts": {
     "ng": "ng",
-    "start": "ng serve --delete-output-path false --proxy-config proxy.conf.json",
+    "start": "ng serve --delete-output-path false --proxy-config proxy.conf.json --host 0.0.0.0",
     "build": "ng build",
     "test": "ng test",
     "lint": "ng lint",