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 a43f83b commit c417b78Copy full SHA for c417b78
src/CORS/samples/SampleDestination/Startup.cs
@@ -58,7 +58,7 @@ public void ConfigureServices(IServiceCollection services)
58
59
public void Configure(IApplicationBuilder app, IHostingEnvironment env)
60
{
61
- app.UseEndpointRouting(routing =>
+ app.UseRouting(routing =>
62
63
routing.Map("/allow-origin", HandleRequest).WithCorsPolicy("AllowOrigin");
64
routing.Map("/allow-header-method", HandleRequest).WithCorsPolicy("AllowHeaderMethod");
0 commit comments