We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c768fb commit 0efdbf1Copy full SHA for 0efdbf1
1 file changed
src/main.rs
@@ -63,7 +63,9 @@ async fn rocket() -> _ {
63
64
let _ = data_thread.thread();
65
66
- let server = rocket::build().attach(Cors).manage(channels).mount(
+ let figment = rocket::Config::figment().merge(("port", 8001));
67
+
68
+ let server = rocket::custom(figment).attach(Cors).manage(channels).mount(
69
"/",
70
routes![
71
index_route,
0 commit comments