Skip to content
This repository was archived by the owner on Dec 21, 2024. It is now read-only.

Commit 4f03f39

Browse files
authored
Merge pull request #29 from rivet-gg/nathan/fix-links
Move hub links to hub.rivet.gg, fix docs.rivet.gg link
2 parents 7f91d18 + 4c31133 commit 4f03f39

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

cli/src/commands/game.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,5 @@ impl SubCommand {
4646
}
4747

4848
pub fn dashboard_url(game_id: &str) -> String {
49-
format!("https://rivet.gg/developer/games/{game_id}")
49+
format!("https://hub.rivet.gg/developer/games/{game_id}")
5050
}

cli/src/commands/init.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ impl Opts {
182182
eprintln!();
183183
term::status::success(
184184
"What's next?",
185-
"https://docs.rivet.gg/docs/guides/getting-started-multiplayer",
185+
"https://docs.rivet.gg/general/guides/crash-course",
186186
);
187187

188188
Ok(())
@@ -232,5 +232,5 @@ async fn read_cloud_token(term: &Term, override_api_url: Option<String>) -> Resu
232232
}
233233

234234
pub fn dashboard_api_url(game_id: &str) -> String {
235-
format!("https://rivet.gg/developer/games/{game_id}/api")
235+
format!("https://hub.rivet.gg/developer/games/{game_id}/api")
236236
}

cli/src/commands/ns.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,5 +226,5 @@ async fn print_ns(
226226
}
227227

228228
pub fn dashboard_url(game_id: &str, ns_id: &str) -> String {
229-
format!("https://rivet.gg/developer/games/{game_id}/namespaces/{ns_id}",)
229+
format!("https://hub.rivet.gg/developer/games/{game_id}/namespaces/{ns_id}",)
230230
}

cli/src/commands/version.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ pub async fn build_rivet_config(
354354

355355
pub fn dashboard_url(game_id: &str, version_id: &str) -> String {
356356
format!(
357-
"https://rivet.gg/developer/games/{game_id}/versions/{version_id}",
357+
"https://hub.rivet.gg/developer/games/{game_id}/versions/{version_id}",
358358
game_id = game_id,
359359
version_id = version_id
360360
)

cli/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ async fn main() -> Result<()> {
8888
SubCommand::Init(_) => unreachable!(),
8989
SubCommand::Dashboard => {
9090
println!(
91-
"https://rivet.gg/developer/games/{game_id}",
91+
"https://hub.rivet.gg/developer/games/{game_id}",
9292
game_id = ctx.game_id
9393
);
9494
}

0 commit comments

Comments
 (0)