Add content system
This commit is contained in:
@@ -4,6 +4,7 @@ using Hutopy.Application;
|
||||
using Hutopy.Infrastructure;
|
||||
using Hutopy.Infrastructure.Data;
|
||||
using Hutopy.Web;
|
||||
using Hutopy.Web.Contents.Data;
|
||||
using Hutopy.Web.Messages.Data;
|
||||
using Microsoft.AspNetCore.HttpOverrides;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
@@ -83,6 +84,11 @@ builder.Services.AddDbContext<MessagingDbContext>((_, options) =>
|
||||
options.UseSqlServer(builder.Configuration.GetConnectionString("CommentStore"));
|
||||
});
|
||||
|
||||
builder.Services.AddDbContext<ContentDbContext>((_, options) =>
|
||||
{
|
||||
options.UseSqlServer(builder.Configuration.GetConnectionString("ContentStore"));
|
||||
});
|
||||
|
||||
var app = builder.Build();
|
||||
|
||||
app.UseForwardedHeaders(
|
||||
|
||||
Reference in New Issue
Block a user