From e34ad74b8f74e730a5b82cbef1c6a96e0780e672 Mon Sep 17 00:00:00 2001 From: Carlos Santos <4a.santos@gmail.com> Date: Thu, 10 Nov 2022 18:08:43 +0100 Subject: [PATCH] openvidu-components: Added npm script for serve with ssl --- openvidu-components-angular/package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/openvidu-components-angular/package.json b/openvidu-components-angular/package.json index a6cceaab..7d1c8e42 100644 --- a/openvidu-components-angular/package.json +++ b/openvidu-components-angular/package.json @@ -68,6 +68,7 @@ "lib:test": "ng test openvidu-angular --no-watch --code-coverage", "lint": "ng lint", "start": "ng serve --configuration development", + "start:ssl": "ng serve --ssl --configuration development --host 0.0.0.0 --port 4200 --ssl-cert /path/to/cert.pem --ssl-key /path/to/key.pem", "start-prod": "npx http-server ./dist/openvidu-components-testapp/ --port 4200", "webcomponent:build": "./node_modules/@angular/cli/bin/ng.js build openvidu-webcomponent --configuration production && node ./openvidu-webcomponent-build.js", "webcomponent:e2e": "tsc --project ./e2e && npx mocha --recursive --timeout 30000 ./e2e/dist/webcomponent.test.js",