From 5f3cee0a99321cf579316edb263d4714966f6068 Mon Sep 17 00:00:00 2001 From: u4pak Date: Sun, 4 Feb 2024 14:31:28 -0800 Subject: [PATCH] lol --- Partypacker/Core/PartypackServer.cs | 7 ++++--- Partypacker/Proxy/Proxy.cs | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) 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