diff --git a/tools/http-fault-injector/Azure.Sdk.Tools.HttpFaultInjector/Properties/launchSettings.json b/tools/http-fault-injector/Azure.Sdk.Tools.HttpFaultInjector/Properties/launchSettings.json new file mode 100644 index 00000000000..584845bc341 --- /dev/null +++ b/tools/http-fault-injector/Azure.Sdk.Tools.HttpFaultInjector/Properties/launchSettings.json @@ -0,0 +1,13 @@ +{ + "profiles": { + "Azure.Sdk.Tools.HttpFaultInjector": { + "commandName": "Project", + "launchBrowser": false, + "environmentVariables": { + "OTEL_SERVICE_NAME": "HttpFaultInjector", + "ASPNETCORE_ENVIRONMENT": "Development" + }, + "applicationUrl": "http://localhost:7777;https://localhost:7778" + } + } +} \ No newline at end of file diff --git a/tools/http-fault-injector/Azure.Sdk.Tools.HttpFaultInjector/Utils.cs b/tools/http-fault-injector/Azure.Sdk.Tools.HttpFaultInjector/Utils.cs index 7d8e13b6d1b..a53e05720b7 100644 --- a/tools/http-fault-injector/Azure.Sdk.Tools.HttpFaultInjector/Utils.cs +++ b/tools/http-fault-injector/Azure.Sdk.Tools.HttpFaultInjector/Utils.cs @@ -22,7 +22,7 @@ public static class Utils "Proxy-Connection", // "X-Upstream-Base-Uri" in original request is used as the Base URI in the upstream request - "X-Upstream-Base-Uri", + UpstreamBaseUriHeader, "Host", ResponseSelectionHeader