Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

angular cli add sslkey certificate

//On the angular.json file add the configurations "sslKey", "sslCert" and "ssl" with the value "true"
//Don't forget to create a folder "ssl" on the root of your project, and add the certicate (.crt) and key (.key) 

"serve": {
          "options": {
            "sslKey": "./ssl/server.key",
            "sslCert": "./ssl/server.crt",
            "ssl": true
          },
          ...
}
Comment

angular cli add ssl certificate

ng serve -o --ssl true --ssl-key [PATH_TO_KEY] --ssl-cert [PATH_TO_CRT]
Comment

PREVIOUS NEXT
Code Example
Javascript :: convert json string to javascript object 
Javascript :: valid phone number regex with country code 
Javascript :: js find object from value in array 
Javascript :: select2 preselect option 
Javascript :: iterate over object javascript 
Javascript :: corresponding text to key code js 
Javascript :: jest check array of string 
Javascript :: get value of span jquery 
Javascript :: js exec vs match 
Javascript :: : not foundram Files/nodejs/npm: 3: 
Javascript :: quotes api 
Javascript :: how to make a bot react to own message js 
Javascript :: phone number validation regex javascript 
Javascript :: Access data out of Axios .then vue.js 
Javascript :: new date with date + 1 
Javascript :: dm someone by id discord.js 
Javascript :: javascript round decimal 
Javascript :: js remove all objects from array where value 
Javascript :: javascript json string 
Javascript :: find max of array of objects key 
Javascript :: odd even condition with ternary operator in javaScript 
Javascript :: check type javascript 
Javascript :: js order alphabetically 
Javascript :: axios upload progress react 
Javascript :: phpmyadmin is not working in ubuntu 20.04 
Javascript :: javascript location redirect 
Javascript :: Return A Random Number within a range of numbers 
Javascript :: js check if string is integer 
Javascript :: props to react router link 
Javascript :: get browser timezone 
ADD CONTENT
Topic
Content
Source link
Name
3+3 =