Skip to content

Commit

Permalink
change port to 21113
Browse files Browse the repository at this point in the history
  • Loading branch information
bryangerlach committed Feb 6, 2024
1 parent faaf445 commit 56829b5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/webs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,7 @@ async fn main() -> std::io::Result<()> {

match config {
Ok(config) => {
println!("listening on https port 21114");
println!("listening on https port 21113");
HttpServer::new(|| {
App::new()
.service(home)
Expand All @@ -675,12 +675,12 @@ async fn main() -> std::io::Result<()> {
.service(https)
.route("/{filename:.*}", web::get().to(download))
})
.bind_rustls_021("0.0.0.0:21114", config)?
.bind_rustls_021("0.0.0.0:21113", config)?
.run()
.await
}
Err(_error_message) => {
println!("listening on http port 21114");
println!("listening on http port 21113");
HttpServer::new(|| {
App::new()
.service(home)
Expand All @@ -696,7 +696,7 @@ async fn main() -> std::io::Result<()> {
.service(https)
.route("/{filename:.*}", web::get().to(download))
})
.bind(("0.0.0.0", 21114))?
.bind(("0.0.0.0", 21113))?
.run()
.await
}
Expand Down

0 comments on commit 56829b5

Please sign in to comment.