From 5120bdef4cbb53e444a3d1763c556c2f40621701 Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Mon, 30 Sep 2024 23:54:20 +0530 Subject: [PATCH] feat: send proxyConfig --- src/api/proxy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/proxy.ts b/src/api/proxy.ts index ff91d43f..918b32fd 100644 --- a/src/api/proxy.ts +++ b/src/api/proxy.ts @@ -2,7 +2,7 @@ import { default as axios } from "axios"; export const sendProxyConfig = async (proxyConfig: {}): Promise => { 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 {