Skip to content

Instantly share code, notes, and snippets.

@gdyrrahitis

gdyrrahitis/Startup.cs Secret

Created Aug 18, 2018
Embed
What would you like to do?
public void Configure(IApplicationBuilder app, IHostingEnvironment env)
{
// omitted for brevity
app.UseHttpsRedirection();
app.UseAuthentication();
app.UseCors(builder => builder.AllowAnyOrigin().AllowAnyHeader().AllowAnyMethod());
app.UseMvc();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.