Skip to content

Commit

Permalink
Enable WebSockets TLS by default
Browse files Browse the repository at this point in the history
  • Loading branch information
piegamesde committed Oct 10, 2021
1 parent bb8f2af commit 523be54
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ eyre = "0.6.5"

futures = "0.3.12"
async-std = { version = "1.9.0", features = ["attributes", "unstable"] }
async-tungstenite = { version = "0.13.1", features = ["async-std-runtime"] }
async-tungstenite = { version = "0.13.1", features = ["async-std-runtime", "async-tls"] }

# for "bin" feature
clap = { version = "2.33.3", optional = true }
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ use std::str;
/// Some mailbox server you might use.
///
/// Two applications that want to communicate with each other *must* use the same mailbox server.
pub const DEFAULT_MAILBOX_SERVER: &str = "ws://relay.magic-wormhole.io:4000/v1";
pub const DEFAULT_MAILBOX_SERVER: &str = "wss://relay.magic-wormhole.io:4000/v1";

#[derive(Debug, thiserror::Error)]
#[non_exhaustive]
Expand Down

0 comments on commit 523be54

Please sign in to comment.