Skip to content

Commit 066b987

Browse files
committed
Clean up
1 parent 5c1a3d8 commit 066b987

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/CORS/samples/SampleDestination/Startup.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ namespace SampleDestination
1414
public class Startup
1515
{
1616
private static readonly string DefaultAllowedOrigin = $"http://{Dns.GetHostName()}:9001";
17-
private readonly ILogger<StartupWithoutEndpointRouting> _logger;
17+
private readonly ILogger<Startup> _logger;
1818

1919
public Startup(ILoggerFactory loggerFactory)
2020
{
21-
_logger = loggerFactory.CreateLogger<StartupWithoutEndpointRouting>();
21+
_logger = loggerFactory.CreateLogger<Startup>();
2222
_logger.LogInformation($"Setting up CORS middleware to allow clients on {DefaultAllowedOrigin}");
2323
}
2424

0 commit comments

Comments
 (0)