As of now with angular cli (beta 28), NG development server runs with defaultly HTTP. If we want to run with HTTPS. we need to do something else..
-
2Got it!!!. After setting up project with angular cli (beta 28). we need to install browser-sync by using command.. NPM install browser-sync. after installing go to folder ... ../node_modules/browser-sync/lib/serve/certs copy the above folder and paste at "src" folder level and name it as (cert) in my case. And made some changes to package.json as shown below "scripts": { "start": "ng serve --ssl true --ssl-key certs/server.key --ssl-cert ssl/server.crt --proxy-config proxy.config.json" }reddy– reddy2017-04-26 18:15:03 +00:00Commented Apr 26, 2017 at 18:15
-
stackoverflow.com/questions/54453112/…Satish Patro– Satish Patro2019-01-31 04:07:26 +00:00Commented Jan 31, 2019 at 4:07
Add a comment
|