Configuraciones
parent
95d91394da
commit
fc92e03b3a
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue