diff --git a/src/HeartTrackAPI/Utils/AppBootstrap.cs b/src/HeartTrackAPI/Utils/AppBootstrap.cs index c41052e..b49cc5f 100644 --- a/src/HeartTrackAPI/Utils/AppBootstrap.cs +++ b/src/HeartTrackAPI/Utils/AppBootstrap.cs @@ -196,7 +196,7 @@ public class AppBootstrap(IConfiguration configuration) //For the time being, the base path is manually set here that corresponds to the APIM API Url Prefix. //In this case we set it to 'sample-app'. - var basePath = "/containers/HeartDev-api"; + var basePath = "containers/HeartDev-api"; var serverUrl = $"{httpReq.Scheme}://{httpReq.Headers["X-Forwarded-Host"]}/{basePath}"; swagger.Servers = new List { new OpenApiServer { Url = serverUrl } }; }