feat: add geography entities with countries, states and cities
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using CMSMicroservice.Infrastructure.Persistence;
|
||||
using CMSMicroservice.Infrastructure.Data.Seeding;
|
||||
using CMSMicroservice.WebApi.Hubs;
|
||||
using Microsoft.AspNetCore.Builder;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Microsoft.Extensions.Hosting;
|
||||
@@ -169,6 +170,10 @@ app.MapHealthChecks("/health/live", new Microsoft.AspNetCore.Diagnostics.HealthC
|
||||
});
|
||||
app.MapControllers();
|
||||
app.UseGrpcWeb(new GrpcWebOptions { DefaultEnabled = true }); // Configure the HTTP request pipeline.
|
||||
|
||||
// Map SignalR Hub for token notifications
|
||||
app.MapHub<TokenNotificationHub>("/hubs/token-notification");
|
||||
|
||||
app.ConfigureGrpcEndpoints(Assembly.GetExecutingAssembly(), endpoints =>
|
||||
{
|
||||
// endpoints.MapGrpcService<ExampleService>();
|
||||
|
||||
Reference in New Issue
Block a user