diff --git a/samples/Mvc.Server/Startup.cs b/samples/Mvc.Server/Startup.cs index dc5a75a8..5e932cda 100644 --- a/samples/Mvc.Server/Startup.cs +++ b/samples/Mvc.Server/Startup.cs @@ -85,10 +85,10 @@ namespace Mvc.Server { // Note: OpenIddict must be added after // ASP.NET Identity and the external providers. - app.UseOpenIddict(options => { + app.UseOpenIddict(builder => { // You can customize the default Content Security Policy (CSP) by calling UseNWebsec explicitly. // This can be useful to allow your HTML views to reference remote scripts/images/styles. - options.UseNWebsec(directives => { + builder.UseNWebsec(directives => { directives.DefaultSources(directive => directive.Self()) .ImageSources(directive => directive.Self().CustomSources("*")) .ScriptSources(directive => directive @@ -147,4 +147,4 @@ namespace Mvc.Server { } } } -} \ No newline at end of file +}