Skip to content

Instantly share code, notes, and snippets.

Created January 13, 2023 11:33
What would you like to do?
public void Configure(IApplicationBuilder app, IHostingEnvironment env)
app.Use(async (context, next) =>
Context.Response.Header.Add("Content-Security-Policy", "default 'self';");
await next ();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment