feat: send proxyConfig

This commit is contained in:
karishmas6
2024-09-30 23:54:20 +05:30
parent e6f08e4c49
commit 5120bdef4c

View File

@@ -2,7 +2,7 @@ import { default as axios } from "axios";
export const sendProxyConfig = async (proxyConfig: {}): Promise<boolean> => {
try {
const response = await axios.post(`http://localhost:8080/proxy/config`);
const response = await axios.post(`http://localhost:8080/proxy/config`, proxyConfig);
if (response.status === 200) {
return response.data;
} else {