Skip to content

Commit 09d8e3a

Browse files
authored
tell user about basepath (#4298)
1 parent 10a63d0 commit 09d8e3a

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

packages/cli/src/serve/output.rs

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -654,7 +654,18 @@ impl Output {
654654

655655
// todo(jon) should we write https ?
656656
let address = match state.server.displayed_address() {
657-
Some(address) => format!("http://{}", address).blue(),
657+
Some(address) => format!(
658+
"http://{}{}",
659+
address,
660+
state
661+
.runner
662+
.client
663+
.build
664+
.base_path()
665+
.map(|f| format!("/{f}/"))
666+
.unwrap_or_default()
667+
)
668+
.blue(),
658669
None => "no server address".dark_gray(),
659670
};
660671

0 commit comments

Comments
 (0)