Skip to content

Commit

Permalink
fix: port 3000
Browse files Browse the repository at this point in the history
  • Loading branch information
storopoli committed Jan 12, 2024
1 parent af28fc8 commit c0a63bc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "stoic-quotes"
version = "0.1.1"
version = "0.1.2"
edition = "2021"
authors = ["Jose Storopoli <jose@storopoli.io>"]
description = "Stoic quotes API backend"
Expand Down
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ async fn main() -> Result<()> {

let app = app();

// run our app with hyper, listening globally on port 443
let port = 443_u16;
// run our app with hyper, listening globally on port 3000
let port = 3000_u16;
let addr = TcpListener::bind(format!("0.0.0.0:{port}")).await.unwrap();
info!("router initialized, listening on port {:?}", port);
serve(addr, app)
Expand Down

0 comments on commit c0a63bc

Please sign in to comment.