feat: proxy setting (#1031)

* feat: add a proxy option into settings

* feat: add a proxy option into settings

* fix: use undici proxy agent
This commit is contained in:
Gauthier
2024-10-26 12:19:42 +02:00
committed by GitHub
parent d331798b28
commit 4b4eeb6ec7
6 changed files with 68 additions and 40 deletions

View File

@@ -13,7 +13,8 @@ class RestartFlag {
return (
this.settings.csrfProtection !== settings.csrfProtection ||
this.settings.trustProxy !== settings.trustProxy
this.settings.trustProxy !== settings.trustProxy ||
this.settings.httpProxy !== settings.httpProxy
);
}
}