]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: add `--ssl` to `ng serve` 38865/head
authorTatjana Dehler <tdehler@suse.com>
Tue, 12 Jan 2021 09:28:35 +0000 (10:28 +0100)
committerTatjana Dehler <tdehler@suse.com>
Tue, 12 Jan 2021 09:28:35 +0000 (10:28 +0100)
Add the `--ssl` option to the `ng serve` command in order to
reflect the changes to the cookies (https://tracker.ceph.com/issues/44591)
and be able to log into the dashboard by using the development server.

Fixes: https://tracker.ceph.com/issues/48847
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
src/pybind/mgr/dashboard/frontend/package.json

index 0bdbdfd1fa2b6459c569cb9421da024869774a63..6d3f91ebf2bd917466d3aacf41306a1e0861ded5 100644 (file)
@@ -7,7 +7,7 @@
   },
   "scripts": {
     "ng": "ng",
-    "start": "npm run env_build && ng serve --host 0.0.0.0",
+    "start": "npm run env_build && ng serve --host 0.0.0.0 --ssl",
     "build": "npm run env_build && ng build --configuration=$npm_package_config_locale",
     "build:localize": "node cd --env --pre && ng build --localize",
     "postbuild:localize": "node cd --res",