validation: do not implicitly append url

This commit is contained in:
Quaternions 2025-03-26 12:53:35 -07:00
parent 5ae287f3f2
commit 4fec1bba47
Signed by: Quaternions
GPG Key ID: D0DF5964F79AC131
2 changed files with 2 additions and 3 deletions
compose.yaml
validation/src

@ -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

@ -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