feat: set proxy

This commit is contained in:
amhsirak
2025-02-25 02:59:08 +05:30
parent d24a01c5e1
commit febad14364

View File

@@ -101,6 +101,7 @@ const ProxyForm: React.FC = () => {
const response = await sendProxyConfig(proxyConfigForm);
if (response) {
setIsProxyConfigured(true);
setProxy({ proxy_url: proxyConfigForm.server_url, auth: requiresAuth });
notify('success', t('proxy.notifications.config_success'));
} else {
notify('error', t('proxy.notifications.config_error'));