From e0f62dc3e34ffc77a8c6d2dd23c8af705f4985f0 Mon Sep 17 00:00:00 2001 From: Shaun Luttin Date: Mon, 25 Apr 2016 18:27:45 -0700 Subject: [PATCH] Change options to builder in the Mvc.Server sample --- samples/Mvc.Server/Startup.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 +}