refactor: rename to server_url

This commit is contained in:
karishmas6
2024-10-02 23:41:08 +05:30
parent 9572061c32
commit 01c1d8c60a

View File

@@ -1,6 +1,6 @@
import { default as axios } from "axios";
export const sendProxyConfig = async (proxyConfig: { server: string, username?: string, password?: string }): Promise<boolean> => {
export const sendProxyConfig = async (proxyConfig: { server_url: string, username?: string, password?: string }): Promise<boolean> => {
try {
const response = await axios.post(`http://localhost:8080/proxy/config`, proxyConfig);
if (response.status === 200) {