feat: update clientKey
This commit is contained in:
parent
e6ab2f60eb
commit
45a9f05efc
2
.env
2
.env
|
|
@ -1 +1 @@
|
|||
NEXT_PUBLIC_MEDOLS_CLIENT_KEY=bb65b1ad-e954-4a1a-b4d0-74df5bb0b640
|
||||
MEDOLS_CLIENT_KEY=bb65b1ad-e954-4a1a-b4d0-74df5bb0b640
|
||||
|
|
@ -10,7 +10,7 @@ const axiosInterceptorInstance = axios.create({
|
|||
baseURL,
|
||||
headers: {
|
||||
"Content-Type": "application/json",
|
||||
"X-Client-Key": process.env.NEXT_PUBLIC_MEDOLS_CLIENT_KEY
|
||||
"X-Client-Key": process.env.MEDOLS_CLIENT_KEY || 'bb65b1ad-e954-4a1a-b4d0-74df5bb0b640'
|
||||
},
|
||||
withCredentials: true,
|
||||
});
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ const axiosBaseInstance = axios.create({
|
|||
baseURL,
|
||||
headers: {
|
||||
"content-type": "application/json",
|
||||
"X-Client-Key": process.env.NEXT_PUBLIC_MEDOLS_CLIENT_KEY
|
||||
"X-Client-Key": process.env.MEDOLS_CLIENT_KEY || 'bb65b1ad-e954-4a1a-b4d0-74df5bb0b640'
|
||||
},
|
||||
withCredentials: true,
|
||||
});
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import axiosBaseInstance from "./http-base-instance";
|
|||
|
||||
const defaultHeaders = {
|
||||
"Content-Type": "application/json",
|
||||
"X-Client-Key": process.env.NEXT_PUBLIC_MEDOLS_CLIENT_KEY
|
||||
"X-Client-Key": process.env.MEDOLS_CLIENT_KEY || 'bb65b1ad-e954-4a1a-b4d0-74df5bb0b640'
|
||||
};
|
||||
|
||||
export async function httpGet(pathUrl: any, headers?: any) {
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ import { getCsrfToken } from "../master-user";
|
|||
|
||||
const defaultHeaders = {
|
||||
"Content-Type": "application/json",
|
||||
"X-Client-Key": process.env.NEXT_PUBLIC_MEDOLS_CLIENT_KEY
|
||||
"X-Client-Key": process.env.MEDOLS_CLIENT_KEY || 'bb65b1ad-e954-4a1a-b4d0-74df5bb0b640'
|
||||
};
|
||||
|
||||
export async function httpGetInterceptor(pathUrl: any) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue