Redirect all examples to use shipped cert
This commit is contained in:
@@ -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!");
|
||||
|
||||
Reference in New Issue
Block a user