]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: Implicit use of proxy.conf.json 20989/head
authorRicardo Marques <rimarques@suse.com>
Wed, 21 Mar 2018 11:29:49 +0000 (11:29 +0000)
committerRicardo Marques <rimarques@suse.com>
Wed, 21 Mar 2018 11:29:49 +0000 (11:29 +0000)
Signed-off-by: Ricardo Marques <rimarques@suse.com>
src/pybind/mgr/dashboard/HACKING.rst
src/pybind/mgr/dashboard/frontend/package.json

index 2a33e022837f294594789e6dd8a1aeaef207bb6e..807360e4157c1f7af6ef5cff920a82518944e381 100644 (file)
@@ -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.
 
index 653bce9b7440b3c987759465cdb6b95b6fa6b4d9..6ca56e1b12e247e5be4bb0529d9feaab42784f62 100644 (file)
@@ -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",