From 3971cdb0a64c077c9d136135b745778d875e0dae Mon Sep 17 00:00:00 2001 From: Tatjana Dehler Date: Tue, 12 Jan 2021 10:28:35 +0100 Subject: [PATCH] mgr/dashboard: add `--ssl` to `ng serve` 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 --- src/pybind/mgr/dashboard/frontend/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pybind/mgr/dashboard/frontend/package.json b/src/pybind/mgr/dashboard/frontend/package.json index 0bdbdfd1fa2b..6d3f91ebf2bd 100644 --- a/src/pybind/mgr/dashboard/frontend/package.json +++ b/src/pybind/mgr/dashboard/frontend/package.json @@ -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", -- 2.47.3