From c483443759af0b7cc60a19c69a46681ee1c3a398 Mon Sep 17 00:00:00 2001 From: Benno van den Berg Date: Tue, 22 Aug 2023 10:09:48 +0200 Subject: [PATCH] Default to CDN version of explorer (#120) --- src/bin/am/commands.rs | 1 + src/bin/am/commands/explore.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bin/am/commands.rs b/src/bin/am/commands.rs index 9d6135c..af52480 100644 --- a/src/bin/am/commands.rs +++ b/src/bin/am/commands.rs @@ -43,6 +43,7 @@ pub enum SubCommands { System(system::Arguments), /// Open up the existing Explorer + #[clap(alias = "explorer")] Explore(explore::Arguments), /// Create a new `am.toml` file interactively with sensible defaults diff --git a/src/bin/am/commands/explore.rs b/src/bin/am/commands/explore.rs index 9f6bc62..bcf0201 100644 --- a/src/bin/am/commands/explore.rs +++ b/src/bin/am/commands/explore.rs @@ -10,7 +10,7 @@ pub struct Arguments { prometheus_endpoint: Option, /// Which endpoint to open in the browser - #[clap(long, env, default_value = "http://localhost:6789/explorer")] + #[clap(long, env, default_value = "https://explorer.autometrics.dev/")] explorer_endpoint: Url, }