tell user about basepath (#4298)
This commit is contained in:
1 parent
10a63d07e2
commit
09d8e3aef2
1 file changed
+12
-1
@@ -654,7 +654,18 @@ impl Output {
|
|||||||
|
|
||||||
// todo(jon) should we write https ?
|
// todo(jon) should we write https ?
|
||||||
let address = match state.server.displayed_address() {
|
let address = match state.server.displayed_address() {
|
||||||
Some(address) => format!("http://{}", address).blue(),
|
Some(address) => format!(
|
||||||
|
"http://{}{}",
|
||||||
|
address,
|
||||||
|
state
|
||||||
|
.runner
|
||||||
|
.client
|
||||||
|
.build
|
||||||
|
.base_path()
|
||||||
|
.map(|f| format!("/{f}/"))
|
||||||
|
.unwrap_or_default()
|
||||||
|
)
|
||||||
|
.blue(),
|
||||||
None => "no server address".dark_gray(),
|
None => "no server address".dark_gray(),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user