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
{
[ApiController]
// [Authorize]
[Authorize]
[Route("host")]
public class HostController : ControllerBase
{

View File

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

View File

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