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
@@ -5,8 +5,8 @@
int main() {
/* Overly simple hello world 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"
}).get("/*", [](auto *res, auto */*req*/) {
res->end("Hello world!");