2023-09-04 01:24:21 -04:00

17 lines
352 B
C#

using ElectronNET.API;
namespace AssetRipper.GUI.Electron;
public static class LocalHost
{
/// <summary>
/// The base url for the web server, e.g. http://localhost:8001/
/// </summary>
public static string BaseUrl { get; private set; } = "";
public static void Initialize()
{
BaseUrl = $"http://localhost:{BridgeSettings.WebPort}/";
}
}