Skip to content

Instantly share code, notes, and snippets.

@Ibro
Created November 14, 2017 05:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Ibro/3efbde487504d002db8a60401ba8e465 to your computer and use it in GitHub Desktop.
Save Ibro/3efbde487504d002db8a60401ba8e465 to your computer and use it in GitHub Desktop.
ASP.NET Core SignalR chat with Angular 5 - https://codingblast.com/asp-net-core-signalr-chat-angular
services.AddCors(o => o.AddPolicy("CorsPolicy", builder =>
{
builder
.AllowAnyMethod()
.AllowAnyHeader()
.WithOrigins("http://localhost:4200");
}));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment