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";
|
||||
|
||||
// Presets. LAN entries match a direct homelab connection (192.168.1.136); the internet
|
||||
// entry (public domain) is for friends connecting from outside — the TLS cert covers the
|
||||
// hostname and :8443 bypasses the reverse proxy.
|
||||
// Presets use the public domains so the same target works for everyone (LAN or internet):
|
||||
// DNS resolves to the public IP for friends, and the unified TLS cert covers both hostnames.
|
||||
// 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 =
|
||||
{
|
||||
("prod-lan", "PROD (LAN)", "https://192.168.1.136:8443"),
|
||||
("preprod-lan", "PREPROD (LAN)", "https://192.168.1.136:8444"),
|
||||
("prod", "PROD (amis / internet)", "https://tc.nfteam.ovh:8443"),
|
||||
("prod", "PROD", "https://tc.nfteam.ovh:8443"),
|
||||
("preprod", "PREPROD", "https://rd-tc.nfteam.ovh:8444"),
|
||||
};
|
||||
|
||||
private static string SettingsPath => Path.Combine(
|
||||
|
||||
Reference in New Issue
Block a user