Skip to content

Commit

Permalink
subdomain feature cli printout
Browse files Browse the repository at this point in the history
  • Loading branch information
agrinman committed Jun 22, 2020
1 parent 936cd20 commit fea01ce
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ ENV RUST_BACKTRACE=1
EXPOSE 5000
EXPOSE 8080

ENTRYPOINT ["/wormhole_server"]
ENTRYPOINT ["/tunnelto_server"]
4 changes: 4 additions & 0 deletions src/client/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,10 @@ async fn connect_to_wormhole(config: &Config) -> Result<WebSocketStream<MaybeTls
e_dark_magenta!("Tunnel activated on: ");
e_cyan_ln!("{}", config.activation_url(&sub_domain));

if config.sub_domain.is_some() && (config.sub_domain.as_ref() != Some(&sub_domain)) && config.first_run {
e_yellow_ln!(">>> Notice: to access the full sub-domain feature, get your a free authentication key at https://dashboard.tunnelto.dev.");
}

Ok(websocket)
}

Expand Down

0 comments on commit fea01ce

Please sign in to comment.