From: Ricardo Marques Date: Wed, 21 Mar 2018 11:29:49 +0000 (+0000) Subject: mgr/dashboard: Implicit use of proxy.conf.json X-Git-Tag: wip-pdonnell-testing-20180329.205607~77^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=3625071c3ee931621ab5b7f88e12be2ac9d33f7c;p=ceph-ci.git mgr/dashboard: Implicit use of proxy.conf.json Signed-off-by: Ricardo Marques --- diff --git a/src/pybind/mgr/dashboard/HACKING.rst b/src/pybind/mgr/dashboard/HACKING.rst index 2a33e022837..807360e4157 100644 --- a/src/pybind/mgr/dashboard/HACKING.rst +++ b/src/pybind/mgr/dashboard/HACKING.rst @@ -45,7 +45,7 @@ Setting up a Development Server Create the ``proxy.conf.json`` file based on ``proxy.conf.json.sample``. -Run ``npm start -- --proxy-config proxy.conf.json`` for a dev server. +Run ``npm start`` for a dev server. Navigate to ``http://localhost:4200/``. The app will automatically reload if you change any of the source files. diff --git a/src/pybind/mgr/dashboard/frontend/package.json b/src/pybind/mgr/dashboard/frontend/package.json index 653bce9b744..6ca56e1b12e 100644 --- a/src/pybind/mgr/dashboard/frontend/package.json +++ b/src/pybind/mgr/dashboard/frontend/package.json @@ -4,7 +4,7 @@ "license": "MIT", "scripts": { "ng": "ng", - "start": "ng serve --delete-output-path false", + "start": "ng serve --delete-output-path false --proxy-config proxy.conf.json", "build": "ng build", "test": "ng test", "lint": "ng lint",