mirror of
https://github.com/scsibug/nostr-rs-relay.git
synced 2024-11-24 17:49:07 -05:00
config: change default websocket port
This commit is contained in:
parent
ee9efab2f7
commit
d79e0a59f5
|
@ -24,7 +24,7 @@ fn main() -> Result<(), Error> {
|
||||||
let _ = env_logger::try_init();
|
let _ = env_logger::try_init();
|
||||||
let addr = env::args()
|
let addr = env::args()
|
||||||
.nth(1)
|
.nth(1)
|
||||||
.unwrap_or_else(|| "0.0.0.0:8888".to_string());
|
.unwrap_or_else(|| "0.0.0.0:8080".to_string());
|
||||||
// configure tokio runtime
|
// configure tokio runtime
|
||||||
let rt = Builder::new_multi_thread()
|
let rt = Builder::new_multi_thread()
|
||||||
.enable_all()
|
.enable_all()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user