feat: fetch proxy config on form submit

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

View File

@@ -103,6 +103,7 @@ const ProxyForm: React.FC = () => {
setIsProxyConfigured(true);
setProxy({ proxy_url: proxyConfigForm.server_url, auth: requiresAuth });
notify('success', t('proxy.notifications.config_success'));
fetchProxyConfig();
} else {
notify('error', t('proxy.notifications.config_error'));
console.log(`${t('proxy.notifications.config_error')} ${response}`)