master
Tudor Stanciu 2022-01-17 19:09:37 +02:00
parent a21bc1939e
commit 9af7aea208
3 changed files with 3 additions and 1 deletions

View File

@ -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
{ {

View File

@ -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());
} }
} }

View File

@ -1,6 +1,7 @@
{ {
"urls": "http://*:5062", "urls": "http://*:5062",
"ConnectionStrings": { "ConnectionStrings": {
//"DatabaseConnection": "***REMOVED***"
"DatabaseConnection": "***REMOVED***" "DatabaseConnection": "***REMOVED***"
}, },
"Logging": { "Logging": {