Point all examples to demo key/cert
This commit is contained in:
parent
a1ed925879
commit
ab829af8ce
5 changed files with 10 additions and 10 deletions
|
@ -4,8 +4,8 @@ const uWS = require('../dist/uws.js');
|
|||
const port = 9001;
|
||||
|
||||
const app = uWS./*SSL*/App({
|
||||
key_file_name: '/home/alexhultman/key.pem',
|
||||
cert_file_name: '/home/alexhultman/cert.pem',
|
||||
key_file_name: 'misc/key.pem',
|
||||
cert_file_name: 'misc/cert.pem',
|
||||
passphrase: '1234'
|
||||
}).get('/user/agent', (res, req) => {
|
||||
/* Read headers */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue