feat: pass apiKey to proxyConfig
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { default as axios } from "axios";
|
||||
|
||||
export const sendProxyConfig = async (proxyConfig: { type: string, server: string, username?: string, password?: string }): Promise<boolean> => {
|
||||
export const sendProxyConfig = async (proxyConfig: { type: string, server: string, username?: string, password?: string, apiKey?: string }): Promise<boolean> => {
|
||||
try {
|
||||
const response = await axios.post(`http://localhost:8080/proxy/config`, proxyConfig);
|
||||
if (response.status === 200) {
|
||||
|
||||
Reference in New Issue
Block a user