chore(game-server): merge main (emulator fixes: contracts, shop, fortuna, friends, admin, presence) #16
@@ -13,14 +13,13 @@ internal static class Program
|
|||||||
{
|
{
|
||||||
private const string AppId = "868270";
|
private const string AppId = "868270";
|
||||||
|
|
||||||
// Presets. LAN entries match a direct homelab connection (192.168.1.136); the internet
|
// Presets use the public domains so the same target works for everyone (LAN or internet):
|
||||||
// entry (public domain) is for friends connecting from outside — the TLS cert covers the
|
// DNS resolves to the public IP for friends, and the unified TLS cert covers both hostnames.
|
||||||
// hostname and :8443 bypasses the reverse proxy.
|
// On the same LAN, add a hosts entry (domain -> 192.168.1.136) to avoid hairpin NAT.
|
||||||
private static readonly (string Key, string Label, string Url)[] Presets =
|
private static readonly (string Key, string Label, string Url)[] Presets =
|
||||||
{
|
{
|
||||||
("prod-lan", "PROD (LAN)", "https://192.168.1.136:8443"),
|
("prod", "PROD", "https://tc.nfteam.ovh:8443"),
|
||||||
("preprod-lan", "PREPROD (LAN)", "https://192.168.1.136:8444"),
|
("preprod", "PREPROD", "https://rd-tc.nfteam.ovh:8444"),
|
||||||
("prod", "PROD (amis / internet)", "https://tc.nfteam.ovh:8443"),
|
|
||||||
};
|
};
|
||||||
|
|
||||||
private static string SettingsPath => Path.Combine(
|
private static string SettingsPath => Path.Combine(
|
||||||
|
|||||||
Reference in New Issue
Block a user