Redirect all examples to use shipped cert

This commit is contained in:
Alex Hultman
2022-08-29 01:29:20 +02:00
parent 0f80f142d7
commit f2ec5e8453
8 changed files with 16 additions and 16 deletions
+2 -2
View File
@@ -7,8 +7,8 @@ struct us_listen_socket_t *globalListenSocket;
int main() {
/* Overly simple hello world app (SNI) */
uWS::SSLApp app = uWS::SSLApp({
.key_file_name = "../misc/key.pem",
.cert_file_name = "../misc/cert.pem",
.key_file_name = "misc/key.pem",
.cert_file_name = "misc/cert.pem",
.passphrase = "1234"
}).missingServerName([&app](const char *hostname) {