From 80fe71ec3b4b219091591e9220f72bee83b0e840 Mon Sep 17 00:00:00 2001 From: Benno van den Berg Date: Wed, 16 Aug 2023 10:33:28 +0200 Subject: [PATCH] Default to CDN version of explorer --- 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, }