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 + } + } + */ + } + }