For the authlib injector authentification server: i changed localhost to 127.0.0.1 to accomodate people who want to use the -Djava.net.preferIPv6Addresses=true Java argument to play on IPV6 in priority because localhost defaults to ::1 in IPV6 mode and crashes the game on launch

This commit is contained in:
BigBoyPro
2024-08-16 22:53:27 +02:00
parent e537265ade
commit eff51d6511

View File

@@ -31,12 +31,12 @@ public:
QString injectorEndpoint() QString injectorEndpoint()
{ {
return ((QString)"http://localhost:%1").arg(m_authServer->port()); return ((QString)"http://127.0.0.1:%1").arg(m_authServer->port());
}; };
QString authEndpoint() QString authEndpoint()
{ {
return ((QString) "http://localhost:%1/auth/").arg(m_authServer->port()); return ((QString) "http://127.0.0.1:%1/auth/").arg(m_authServer->port());
}; };
virtual bool useYggdrasil() virtual bool useYggdrasil()