Skip to content

Instantly share code, notes, and snippets.

@AndyButland
Created May 9, 2022 14:35
Show Gist options
  • Save AndyButland/e95af0e933011e068c337ac998e0f622 to your computer and use it in GitHub Desktop.
Save AndyButland/e95af0e933011e068c337ac998e0f622 to your computer and use it in GitHub Desktop.
using Microsoft.Extensions.Options;
using Umbraco.Cms.Web.Common.ApplicationBuilder;
namespace MyApp
{
public class MyConfigureOptions : IConfigureOptions<UmbracoPipelineOptions>
{
public void Configure(UmbracoPipelineOptions options)
{
options.AddFilter(new MyPipelineFilter());
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment