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