chore(game-server): merge main (emulator fixes: contracts, shop, fortuna, friends, admin, presence) #16

Merged
neckfire merged 35 commits from main into game-server 2026-07-16 08:25:21 +00:00
Showing only changes of commit 2cc90a22e0 - Show all commits
+5 -6
View File
@@ -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(