diff --git a/compose.yaml b/compose.yaml index 1648e5a..4445c1d 100644 --- a/compose.yaml +++ b/compose.yaml @@ -59,7 +59,7 @@ services: - ../auth-compose/strafesnet_staging.env environment: - ROBLOX_GROUP_ID=17032139 # "None" is special case string value - - API_HOST_INTERNAL=http://submissions:8083 + - API_HOST_INTERNAL=http://submissions:8083/v1 - NATS_HOST=nats:4222 depends_on: - nats diff --git a/validation/src/main.rs b/validation/src/main.rs index 0fbb7c1..5daeb8a 100644 --- a/validation/src/main.rs +++ b/validation/src/main.rs @@ -39,8 +39,7 @@ async fn main()->Result<(),StartupError>{ let cookie_context=rbx_asset::cookie::CookieContext::new(rbx_asset::cookie::Cookie::new(cookie)); // maps-service api - let mut api_host_internal=std::env::var("API_HOST_INTERNAL").expect("API_HOST_INTERNAL env required"); - api_host_internal+="v1/"; + let api_host_internal=std::env::var("API_HOST_INTERNAL").expect("API_HOST_INTERNAL env required"); let api=submissions_api::internal::Context::new(api_host_internal).map_err(StartupError::API)?; // nats