Update listen ports
This commit is contained in:
parent
488fa685d3
commit
e9fcc71382
2 changed files with 4 additions and 4 deletions
|
@ -14,9 +14,9 @@ use warp::Filter;
|
|||
pub fn start(context: Context) {
|
||||
let rt = runtime::Runtime::new().unwrap();
|
||||
rt.block_on(async {
|
||||
log::info!("Starting NIP-05 on http://127.0.0.1:8085");
|
||||
log::info!("Starting NIP-05 on http://0.0.0.0:8085");
|
||||
let routes = routes::routes(context).recover(handle_rejection);
|
||||
|
||||
warp::serve(routes).run(([127, 0, 0, 1], 8085)).await;
|
||||
warp::serve(routes).run(([0, 0, 0, 0], 8085)).await;
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue