[성현모] DB Connection 수정
This commit is contained in:
@ -1,11 +1,14 @@
|
||||
using DB.HubXDB;
|
||||
using HubX.Library.Config;
|
||||
using HubX.Library.Socket.Session;
|
||||
using HubX.Server;
|
||||
using HubX.Server.Services;
|
||||
using HubX.Server.TaskManager;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using System.Net;
|
||||
using System.Net.Sockets;
|
||||
using SystemX.Core.Communication;
|
||||
using SystemX.Core.DB;
|
||||
using SystemX.Core.Services;
|
||||
|
||||
string configDir = @"../Config";
|
||||
@ -49,6 +52,8 @@ else
|
||||
return;
|
||||
}
|
||||
|
||||
builder.Services.AddDbContext<HubXContext>();
|
||||
|
||||
var app = builder.Build();
|
||||
|
||||
//read api config and set
|
||||
|
||||
Reference in New Issue
Block a user