mirror of
https://github.com/AssetRipper/AssetRipper.git
synced 2025-12-11 20:15:29 +01:00
17 lines
352 B
C#
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}/";
|
|
}
|
|
}
|