diff options
| author | Fuwn <[email protected]> | 2022-03-30 21:31:03 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2022-03-30 21:31:03 +0000 |
| commit | 53020cb3717f4d2e88ce69ecfcb79b573b5cda7d (patch) | |
| tree | 93135407e2886cda4d35f598fd7375232df8ffc9 /examples | |
| parent | feat(router): specify custom port (diff) | |
| download | windmark-53020cb3717f4d2e88ce69ecfcb79b573b5cda7d.tar.xz windmark-53020cb3717f4d2e88ce69ecfcb79b573b5cda7d.zip | |
fix(router): use different certificate file
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/windmark.rs | 2 |
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; |