Configuraciones

main
Gerardo 2025-07-08 14:54:05 +02:00
parent 95d91394da
commit fc92e03b3a
2 changed files with 8 additions and 4 deletions

View File

@ -12,7 +12,7 @@ namespace Mqtt.App.api.Controllers
[ApiController]
public class mqttController : ControllerBase
{
[AllowAnonymous]
[AllowAnonymous]
[HttpPost]
public async Task<IActionResult> Create(
[FromBody] mqttPublish model,

View File

@ -8,9 +8,13 @@
"AllowedHosts": "*",
"SqlConnectionString": "server=192.168.56.1,1433;user id=sa;password=pass1234.4321@#;initial catalog=AppPrueba; Trust Server Certificate=True",
"SecretKeyJwt": "NFAJJSAK3523dgsdf.dasfas.dsnfansnvDSFaskin908348",
"IssuerJWT": "EmpresaApp.com",
"AudienceJwt": "EmpresaApp.com",
"MasterKey": "bdasbvña78678,.p``´dshnihfp"
"IssuerJWT": "MqttApp.com",
"AudienceJwt": "MqttApp.com",
"MasterKey": "bdasbvña78678,.p``´dshnihfp",
"ServerMqtt": "192.168.2.50",
"TopicFormatMqtt": "casa/Api/{0}",
"ApiKeyMqtt": "hola"