Skip to content

Instantly share code, notes, and snippets.

Created February 16, 2019 11:38
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save evan-boissonnot/640456d16324816c031a82d4a8f96f58 to your computer and use it in GitHub Desktop.
AddCors, AddPolicy, AllowSpecificOrigin core api
public void ConfigureServices(IServiceCollection services)
services.AddCors(options =>
builder => builder.WithOrigins(""));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment