From b3bd44fc461e07d60276ac9fe2ec6c0a01b5a105 Mon Sep 17 00:00:00 2001 From: NathanFlurry Date: Wed, 31 Jul 2024 09:12:01 +0000 Subject: [PATCH] fix: remove trailing slash from endpoint (#1012) ## Changes --- lib/util/core/src/route.rs | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/lib/util/core/src/route.rs b/lib/util/core/src/route.rs index bcb6ad38f8..a8421e1855 100644 --- a/lib/util/core/src/route.rs +++ b/lib/util/core/src/route.rs @@ -1,8 +1,8 @@ +use global_error::prelude::*; use types::rivet::backend; use uuid::Uuid; -use global_error::prelude::*; -use crate::env::{origin_api, origin_hub, domain_main}; +use crate::env::{domain_main, origin_api, origin_hub}; pub fn user_settings() -> String { format!("{}/settings", origin_hub()) @@ -108,9 +108,7 @@ pub fn opengb_env(project_name_id: &str, env_name_id: &str) -> GlobalResult