feat: add force ipv4 first setting (#1719)

This PR adds a 'Force IPv4' setting in the network settings, like the one that existed before we
migrated from Fetch API to Axios.
This commit is contained in:
Gauthier
2025-06-17 21:35:52 +02:00
committed by GitHub
parent 049bc59d2d
commit 0357d17205
6 changed files with 50 additions and 3 deletions

View File

@@ -140,6 +140,7 @@ export interface MainSettings {
export interface NetworkSettings {
csrfProtection: boolean;
forceIpv4First: boolean;
trustProxy: boolean;
proxy: ProxySettings;
}
@@ -544,6 +545,7 @@ class Settings {
},
network: {
csrfProtection: false,
forceIpv4First: false,
trustProxy: false,
proxy: {
enabled: false,