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 5c1a3d8 commit 066b987Copy full SHA for 066b987
src/CORS/samples/SampleDestination/Startup.cs
@@ -14,11 +14,11 @@ namespace SampleDestination
14
public class Startup
15
{
16
private static readonly string DefaultAllowedOrigin = $"http://{Dns.GetHostName()}:9001";
17
- private readonly ILogger<StartupWithoutEndpointRouting> _logger;
+ private readonly ILogger<Startup> _logger;
18
19
public Startup(ILoggerFactory loggerFactory)
20
21
- _logger = loggerFactory.CreateLogger<StartupWithoutEndpointRouting>();
+ _logger = loggerFactory.CreateLogger<Startup>();
22
_logger.LogInformation($"Setting up CORS middleware to allow clients on {DefaultAllowedOrigin}");
23
}
24
0 commit comments