http: Disable binding to localhost on mobile until I can solve 'address not available'.
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 31m49s

This commit is contained in:
Cory McWilliams 2025-03-11 21:36:55 -04:00
parent 427a7b8d25
commit 98b4c7cf04

View File

@ -716,6 +716,11 @@ int tf_http_listen(tf_http_t* http, int port, bool local_only, tf_tls_context_t*
if (r == 0) if (r == 0)
{ {
if (tf_util_is_mobile())
{
local_only = false;
}
#if defined(__HAIKU__) #if defined(__HAIKU__)
/* /*
** Binding to IPv6 here fails with an odd error, and the socket ** Binding to IPv6 here fails with an odd error, and the socket