Aggiunta impostazione server URL
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
using System.Configuration;
|
||||
using System.Net.Http.Json;
|
||||
|
||||
namespace PizzaExpress_Client
|
||||
@@ -29,7 +30,7 @@ namespace PizzaExpress_Client
|
||||
MaximizeBox = false;
|
||||
StartPosition = FormStartPosition.CenterScreen;
|
||||
|
||||
_httpClient = new HttpClient { BaseAddress = new Uri("http://localhost:5000/") };
|
||||
_httpClient = new HttpClient { BaseAddress = new Uri(Properties.Settings.Default.serverUrl) };
|
||||
|
||||
// ======================================================
|
||||
// PANNELLO SUPERIORE
|
||||
|
||||
Reference in New Issue
Block a user