feat: update clientKey

This commit is contained in:
hanif salafi 2025-07-03 23:34:19 +07:00
parent 45a9f05efc
commit bcbdafa8c6
4 changed files with 4 additions and 4 deletions

View File

@ -10,7 +10,7 @@ const axiosInterceptorInstance = axios.create({
baseURL,
headers: {
"Content-Type": "application/json",
"X-Client-Key": process.env.MEDOLS_CLIENT_KEY || 'bb65b1ad-e954-4a1a-b4d0-74df5bb0b640'
"X-Client-Key": "bb65b1ad-e954-4a1a-b4d0-74df5bb0b640"
},
withCredentials: true,
});

View File

@ -6,7 +6,7 @@ const axiosBaseInstance = axios.create({
baseURL,
headers: {
"content-type": "application/json",
"X-Client-Key": process.env.MEDOLS_CLIENT_KEY || 'bb65b1ad-e954-4a1a-b4d0-74df5bb0b640'
"X-Client-Key": "bb65b1ad-e954-4a1a-b4d0-74df5bb0b640"
},
withCredentials: true,
});

View File

@ -2,7 +2,7 @@ import axiosBaseInstance from "./http-base-instance";
const defaultHeaders = {
"Content-Type": "application/json",
"X-Client-Key": process.env.MEDOLS_CLIENT_KEY || 'bb65b1ad-e954-4a1a-b4d0-74df5bb0b640'
"X-Client-Key": "bb65b1ad-e954-4a1a-b4d0-74df5bb0b640"
};
export async function httpGet(pathUrl: any, headers?: any) {

View File

@ -5,7 +5,7 @@ import { getCsrfToken } from "../master-user";
const defaultHeaders = {
"Content-Type": "application/json",
"X-Client-Key": process.env.MEDOLS_CLIENT_KEY || 'bb65b1ad-e954-4a1a-b4d0-74df5bb0b640'
"X-Client-Key": "bb65b1ad-e954-4a1a-b4d0-74df5bb0b640"
};
export async function httpGetInterceptor(pathUrl: any) {