Constellation, Spacedust, Slingshot, UFOs: atproto crates and services for microcosm

use the host val if set for docs server

Changed files
+5 -1
slingshot
src
+5 -1
slingshot/src/server.rs
···
"Slingshot",
env!("CARGO_PKG_VERSION"),
)
-
.server("http://localhost:3000")
+
.server(if let Some(ref h) = host {
+
format!("https://{h}")
+
} else {
+
"http://localhost:3000".to_string()
+
})
.url_prefix("/xrpc");
let mut app = Route::new()