We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1c1723 commit 1408edbCopy full SHA for 1408edb
src/BenchmarksApps/TLS/Kestrel/Program.cs
@@ -47,6 +47,7 @@
47
allowedHosts.Add(urlPrefix.Host);
48
}
49
50
+ Console.WriteLine("Allowed Hosts: " + string.Join(';', allowedHosts));
51
options.AllowedHosts = allowedHosts.ToArray();
52
options.IncludeFailureMessage = false; // Suppress the failure message in response body
53
options.AllowEmptyHosts = true;
0 commit comments