aboutsummaryrefslogtreecommitdiff
path: root/examples/windmark.rs
diff options
context:
space:
mode:
authorFuwn <[email protected]>2022-03-30 21:31:03 +0000
committerFuwn <[email protected]>2022-03-30 21:31:03 +0000
commit53020cb3717f4d2e88ce69ecfcb79b573b5cda7d (patch)
tree93135407e2886cda4d35f598fd7375232df8ffc9 /examples/windmark.rs
parentfeat(router): specify custom port (diff)
downloadwindmark-53020cb3717f4d2e88ce69ecfcb79b573b5cda7d.tar.xz
windmark-53020cb3717f4d2e88ce69ecfcb79b573b5cda7d.zip
fix(router): use different certificate file
Diffstat (limited to 'examples/windmark.rs')
-rw-r--r--examples/windmark.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/windmark.rs b/examples/windmark.rs
index 251859f..93eccce 100644
--- a/examples/windmark.rs
+++ b/examples/windmark.rs
@@ -29,7 +29,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
windmark::Router::new()
.set_private_key_file("windmark_private.pem")
- .set_certificate_chain_file("windmark_pair.pem")
+ .set_certificate_file("windmark_public.pem")
.enable_default_logger(true)
.set_error_handler(Box::new(move |_| {
error_count += 1;