Update endpoint port

This commit is contained in:
Michał Zieliński
2023-08-20 19:13:06 +02:00
parent 8a556b8b71
commit 711fe42c04
2 changed files with 2 additions and 2 deletions

View File

@@ -149,7 +149,7 @@ namespace WebAPI.Controllers
[AllowAnonymous]
public IActionResult autoImportMorska(string apiKey)
{
if (Request.Host.Value != "localhost:5400" || apiKey != configuration["apiKey"])
if (Request.Host.Value != "localhost:5401" || apiKey != configuration["apiKey"])
{
return Unauthorized();
}

View File

@@ -8,7 +8,7 @@
},
"AllowedHosts": "*",
"ConnectionStrings": {
"SQLDatabase": "Server=tcp:127.0.0.1,1433;Initial Catalog=diunabi-dev;Persist Security Info=False;User ID=SA;Password=v](8Lc|RfG;MultipleActiveResultSets=False;Encrypt=False;TrustServerCertificate=False;Connection Timeout=30;"
"SQLDatabase": "Server=tcp:127.0.0.1,1433;Initial Catalog=diunabi-morska;Persist Security Info=False;User ID=SA;Password=v](8Lc|RfG;MultipleActiveResultSets=False;Encrypt=False;TrustServerCertificate=False;Connection Timeout=30;"
},
"GoogleClientId": "107631825312-bkfe438ehr9k9ecb2h76g802tj6advma.apps.googleusercontent.com",
"Secret": "8393AF8EAEF8478CB738D44858690F9C7E2D19F65896DD9FBAA3EB2A6F493E80",