fix
parent
a21bc1939e
commit
9af7aea208
|
@ -7,7 +7,7 @@ using System.Threading.Tasks;
|
||||||
namespace NetworkResurrector.Agent.Controllers
|
namespace NetworkResurrector.Agent.Controllers
|
||||||
{
|
{
|
||||||
[ApiController]
|
[ApiController]
|
||||||
// [Authorize]
|
[Authorize]
|
||||||
[Route("host")]
|
[Route("host")]
|
||||||
public class HostController : ControllerBase
|
public class HostController : ControllerBase
|
||||||
{
|
{
|
||||||
|
|
|
@ -24,6 +24,7 @@ namespace NetworkResurrector.Api.Domain.Data.DbContexts
|
||||||
modelBuilder.ApplyConfiguration(new MachineConfiguration());
|
modelBuilder.ApplyConfiguration(new MachineConfiguration());
|
||||||
modelBuilder.ApplyConfiguration(new PowerActionConfiguration());
|
modelBuilder.ApplyConfiguration(new PowerActionConfiguration());
|
||||||
modelBuilder.ApplyConfiguration(new PowerActionPerformerConfiguration());
|
modelBuilder.ApplyConfiguration(new PowerActionPerformerConfiguration());
|
||||||
|
modelBuilder.ApplyConfiguration(new PowerActionConfigurationEf());
|
||||||
modelBuilder.ApplyConfiguration(new MachineAgentConfiguration());
|
modelBuilder.ApplyConfiguration(new MachineAgentConfiguration());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
{
|
{
|
||||||
"urls": "http://*:5062",
|
"urls": "http://*:5062",
|
||||||
"ConnectionStrings": {
|
"ConnectionStrings": {
|
||||||
|
//"DatabaseConnection": "***REMOVED***"
|
||||||
"DatabaseConnection": "***REMOVED***"
|
"DatabaseConnection": "***REMOVED***"
|
||||||
},
|
},
|
||||||
"Logging": {
|
"Logging": {
|
||||||
|
|
Loading…
Reference in New Issue