Wrap ca_file_name option

This commit is contained in:
Alex Hultman 2019-12-05 21:30:49 +01:00
parent 2c87f3593d
commit d9c86f3e93
2 changed files with 64 additions and 66 deletions

View file

@ -17,7 +17,7 @@ if (isMainThread) {
/* I guess main thread joins by default? */
} else {
/* Here we are inside a worker thread */
const app = uWS./*SSL*/App({
const app = uWS.SSLApp({
key_file_name: 'misc/key.pem',
cert_file_name: 'misc/cert.pem',
passphrase: '1234'