Skip to content

Commit 0efdbf1

Browse files
committed
Changed default port to 8001
1 parent 2c768fb commit 0efdbf1

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/main.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,9 @@ async fn rocket() -> _ {
6363

6464
let _ = data_thread.thread();
6565

66-
let server = rocket::build().attach(Cors).manage(channels).mount(
66+
let figment = rocket::Config::figment().merge(("port", 8001));
67+
68+
let server = rocket::custom(figment).attach(Cors).manage(channels).mount(
6769
"/",
6870
routes![
6971
index_route,

0 commit comments

Comments
 (0)