diff --git a/Partypacker/Core/PartypackServer.cs b/Partypacker/Core/PartypackServer.cs index a511e0d..ec39811 100644 --- a/Partypacker/Core/PartypackServer.cs +++ b/Partypacker/Core/PartypackServer.cs @@ -5,6 +5,7 @@ using System.Linq; using System.Net; using System.Text; using System.Threading.Tasks; +using System.Windows; namespace Partypacker.Core { @@ -12,14 +13,14 @@ namespace Partypacker.Core { public static string BaseURL = #if DEBUG - MainWindow.settings.GetValue("Launcher", "apiurl") ?? "https://sparks-staging.coolmath.tech"; + MainWindow.settings.GetValue("Launcher", "apiurl") ?? "https://partypack.mcthe.dev"; #else MainWindow.settings.GetValue("Launcher", "apiurl") ?? "https://partypack.mcthe.dev"; #endif public static string DashboardURL = #if DEBUG - MainWindow.settings.GetValue("Launcher", "apiurl") ?? "https://sparks-staging.coolmath.tech"; + MainWindow.settings.GetValue("Launcher", "apiurl") ?? "https://partypack.mcthe.dev"; #else MainWindow.settings.GetValue("Launcher", "dashurl") ?? "https://partypack.mcthe.dev"; #endif @@ -46,7 +47,7 @@ namespace Partypacker.Core } catch (Exception ex) { - Console.WriteLine(ex.Message); + MessageBox.Show(ex.Message); return new KeyValuePair(false, string.Empty); } } diff --git a/Partypacker/Proxy/Proxy.cs b/Partypacker/Proxy/Proxy.cs index 8593117..38af409 100644 --- a/Partypacker/Proxy/Proxy.cs +++ b/Partypacker/Proxy/Proxy.cs @@ -132,7 +132,7 @@ namespace Partypacker.Net { string BaseURL = #if DEBUG - MainWindow.settings.GetValue("Launcher", "apiurl") ?? "https://sparks-staging.coolmath.tech"; + MainWindow.settings.GetValue("Launcher", "apiurl") ?? "https://partypack.mcthe.dev"; #else MainWindow.settings.GetValue("Launcher", "apiurl") ?? "https://partypack.mcthe.dev"; #endif