From 69196518cf3f6faa203f3d3d77a7a2c05d4d1ed8 Mon Sep 17 00:00:00 2001 From: Jeffrey Epstein Date: Wed, 18 Feb 2026 08:56:03 +0100 Subject: [PATCH] Aggiunto indirizzo di ascolto in appsettings predefinito (problemi di lettura da fixare) --- PizzaExpress/PizzaExpress.csproj.user | 5 ++++- PizzaExpress/Properties/launchSettings.json | 2 +- PizzaExpress/appsettings.Development.json | 13 +++++++++++++ PizzaExpress/appsettings.json | 19 +++++++++++++++++-- 4 files changed, 35 insertions(+), 4 deletions(-) diff --git a/PizzaExpress/PizzaExpress.csproj.user b/PizzaExpress/PizzaExpress.csproj.user index 96e63d6..a6dbd03 100644 --- a/PizzaExpress/PizzaExpress.csproj.user +++ b/PizzaExpress/PizzaExpress.csproj.user @@ -1,9 +1,12 @@  - https + http ProjectDebugger + + ProjectDebugger + \ No newline at end of file diff --git a/PizzaExpress/Properties/launchSettings.json b/PizzaExpress/Properties/launchSettings.json index 505dcec..94aca16 100644 --- a/PizzaExpress/Properties/launchSettings.json +++ b/PizzaExpress/Properties/launchSettings.json @@ -18,7 +18,7 @@ "ASPNETCORE_ENVIRONMENT": "Development" }, "dotnetRunMessages": true, - "applicationUrl": "https://localhost:7297;http://localhost:5011" + "applicationUrl": "https://localhost:5001" }, "IIS Express": { "commandName": "IISExpress", diff --git a/PizzaExpress/appsettings.Development.json b/PizzaExpress/appsettings.Development.json index 68c8e17..b210534 100644 --- a/PizzaExpress/appsettings.Development.json +++ b/PizzaExpress/appsettings.Development.json @@ -10,5 +10,18 @@ "http://127.0.0.1:5500", "http://localhost:5500" ] + }, + "Kestrel": { + "Endpoints": { + "Http": { + "Url": "http://localhost:5000" + }, + "Https": { + "Url": "https://localhost:5001", + "Certificate": { + "Path": "certs/localhost.pfx", // Optional: Path to the certificate file + "Password": "password" // Optional: Certificate password if required + } + } } } diff --git a/PizzaExpress/appsettings.json b/PizzaExpress/appsettings.json index eb1e223..095b1d3 100644 --- a/PizzaExpress/appsettings.json +++ b/PizzaExpress/appsettings.json @@ -11,5 +11,20 @@ "http://localhost:5500" ] }, - "AllowedHosts": "*" -} + "AllowedHosts": "*", + "Kestrel": { + "Endpoints": { + "Http": { + "Url": "http://0.0.0.0:5000" + }, + /* + "Https": { + "Url": "https://0.0.0.0:5001", + "Certificate": { + "Path": "certs/localhost.pfx", // Path to the certificate file + "Password": "password" // Optional: Certificate password if required + } + } + */ + } + }