lol
This commit is contained in:
parent
10733c1d80
commit
5f3cee0a99
|
@ -5,6 +5,7 @@ using System.Linq;
|
||||||
using System.Net;
|
using System.Net;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
using System.Windows;
|
||||||
|
|
||||||
namespace Partypacker.Core
|
namespace Partypacker.Core
|
||||||
{
|
{
|
||||||
|
@ -12,14 +13,14 @@ namespace Partypacker.Core
|
||||||
{
|
{
|
||||||
public static string BaseURL =
|
public static string BaseURL =
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
MainWindow.settings.GetValue("Launcher", "apiurl") ?? "https://sparks-staging.coolmath.tech";
|
MainWindow.settings.GetValue("Launcher", "apiurl") ?? "https://partypack.mcthe.dev";
|
||||||
#else
|
#else
|
||||||
MainWindow.settings.GetValue("Launcher", "apiurl") ?? "https://partypack.mcthe.dev";
|
MainWindow.settings.GetValue("Launcher", "apiurl") ?? "https://partypack.mcthe.dev";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
public static string DashboardURL =
|
public static string DashboardURL =
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
MainWindow.settings.GetValue("Launcher", "apiurl") ?? "https://sparks-staging.coolmath.tech";
|
MainWindow.settings.GetValue("Launcher", "apiurl") ?? "https://partypack.mcthe.dev";
|
||||||
#else
|
#else
|
||||||
MainWindow.settings.GetValue("Launcher", "dashurl") ?? "https://partypack.mcthe.dev";
|
MainWindow.settings.GetValue("Launcher", "dashurl") ?? "https://partypack.mcthe.dev";
|
||||||
#endif
|
#endif
|
||||||
|
@ -46,7 +47,7 @@ namespace Partypacker.Core
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
Console.WriteLine(ex.Message);
|
MessageBox.Show(ex.Message);
|
||||||
return new KeyValuePair<bool, string>(false, string.Empty);
|
return new KeyValuePair<bool, string>(false, string.Empty);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -132,7 +132,7 @@ namespace Partypacker.Net
|
||||||
{
|
{
|
||||||
string BaseURL =
|
string BaseURL =
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
MainWindow.settings.GetValue("Launcher", "apiurl") ?? "https://sparks-staging.coolmath.tech";
|
MainWindow.settings.GetValue("Launcher", "apiurl") ?? "https://partypack.mcthe.dev";
|
||||||
#else
|
#else
|
||||||
MainWindow.settings.GetValue("Launcher", "apiurl") ?? "https://partypack.mcthe.dev";
|
MainWindow.settings.GetValue("Launcher", "apiurl") ?? "https://partypack.mcthe.dev";
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue
Block a user