From 85b79a1e27b48b9eb4381f8cd12fe127d4d737c4 Mon Sep 17 00:00:00 2001 From: Joep Meindertsma Date: Sun, 16 Oct 2022 13:31:09 +0200 Subject: [PATCH] Fix URL refactor paths endpoints #502 --- lib/src/urls.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/src/urls.rs b/lib/src/urls.rs index af2de4937..fa0a3f8ef 100644 --- a/lib/src/urls.rs +++ b/lib/src/urls.rs @@ -140,12 +140,12 @@ pub const PUBLIC_AGENT: &str = "https://atomicdata.dev/agents/publicAgent"; pub const SUDO_AGENT: &str = "sudo:agent"; // Paths -pub const PATH_IMPORT: &str = "import"; -pub const PATH_FETCH_BOOKMARK: &str = "fetch-bookmark"; -pub const PATH_TPF: &str = "tpf"; -pub const PATH_PATH: &str = "path"; -pub const PATH_COMMITS: &str = "commits"; -pub const PATH_ENDPOINTS: &str = "endpoints"; +pub const PATH_IMPORT: &str = "/import"; +pub const PATH_FETCH_BOOKMARK: &str = "/fetch-bookmark"; +pub const PATH_TPF: &str = "/tpf"; +pub const PATH_PATH: &str = "/path"; +pub const PATH_COMMITS: &str = "/commits"; +pub const PATH_ENDPOINTS: &str = "/endpoints"; pub const PATH_IMPORT: &str = "/import"; pub const PATH_FETCH_BOOKMARK: &str = "/fetch-bookmark";