From d20f23478fa9555372676ad70e5bb91a564c480c Mon Sep 17 00:00:00 2001 From: dave Date: Tue, 19 Mar 2024 07:20:41 +0100 Subject: [PATCH] just to see --- src/HeartTrackAPI/Utils/AppBootstrap.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/HeartTrackAPI/Utils/AppBootstrap.cs b/src/HeartTrackAPI/Utils/AppBootstrap.cs index 81213ca..9c91653 100644 --- a/src/HeartTrackAPI/Utils/AppBootstrap.cs +++ b/src/HeartTrackAPI/Utils/AppBootstrap.cs @@ -197,8 +197,8 @@ public class AppBootstrap(IConfiguration configuration) //In this case we set it to 'sample-app'. var basePath = "containers/HeartDev-api"; - var serverUrl = $"{httpReq.Scheme}://{httpReq.Headers["X-Forwarded-Host"]}/{basePath}"; - swagger.Servers = new List { new() { Url = serverUrl }, new() { Url = $"{httpReq.Scheme}://{httpReq.Host.Value}" },new() { Url = $"{httpReq.Scheme}://{httpReq.Host.Value}/{basePath}" } }; + var serverUrl = $"{httpReq.Scheme}://{httpReq.Headers["X-Forwarded-Host"]}/3{basePath}"; + swagger.Servers = new List { new() { Url = serverUrl }, new() { Url = $"{httpReq.Scheme}://1{httpReq.Host.Value}" },new() { Url = $"{httpReq.Scheme}://2{httpReq.Host.Value}/{basePath}" } }; //} }); });