1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Only connect to manuall addresses specified by user

This should never be enabled on the web because users are not expected to connect to an address they don't specify. For specific use cases like auto endpoint switching between networks, this should be managed by DNS or the router itself, not by the application. 

Having an address that is not always connectable causes our Android users to be unable to reliably connect to the server. It also breaks many reverse-proxy setups, as this address exposed by the server usually bypasses the proxy unless explicitly configured by the user. This has far more negative impact than the benifit it brings.
This commit is contained in:
gnattu 2024-05-20 22:37:19 +08:00
parent a806eeb3a7
commit c0b86a39c7

View file

@ -65,7 +65,7 @@ class ServerConnections extends ConnectionManager {
); );
apiClient.enableAutomaticNetworking = false; apiClient.enableAutomaticNetworking = false;
apiClient.manualAddressOnly = false; apiClient.manualAddressOnly = true;
this.addApiClient(apiClient); this.addApiClient(apiClient);