Skip to content

Commit

Permalink
fix: token server port
Browse files Browse the repository at this point in the history
  • Loading branch information
DhananjayPurohit committed Mar 27, 2024
1 parent 6a02b48 commit fb9414e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions token-server/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ async fn main() {
.manage(token_server)
.attach(Cors)
// .attach(MercuryPgDatabase::fairing())
.listen(8001)
.launch()
.await;
}
Expand Down
2 changes: 0 additions & 2 deletions token-server/src/server_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,6 @@ impl ServerConfig {
if let Ok(v) = env::var("CONNECTION_STRING") {
let _ = conf_rs.set("connection_string", v);
}
print!("{:?}", conf_rs);
conf_rs.try_into().unwrap()
}
}

0 comments on commit fb9414e

Please sign in to comment.