add user agent on ui (#3404)
This commit is contained in:
@@ -13,6 +13,7 @@ const client = axios.create({
|
|||||||
baseURL: apiV1BaseUrl,
|
baseURL: apiV1BaseUrl,
|
||||||
headers: {
|
headers: {
|
||||||
"Content-Type": "application/json",
|
"Content-Type": "application/json",
|
||||||
|
"x-user-agent": "skyvern-ui",
|
||||||
"x-api-key": envCredential,
|
"x-api-key": envCredential,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
@@ -21,6 +22,7 @@ const v2Client = axios.create({
|
|||||||
baseURL: apiV2BaseUrl,
|
baseURL: apiV2BaseUrl,
|
||||||
headers: {
|
headers: {
|
||||||
"Content-Type": "application/json",
|
"Content-Type": "application/json",
|
||||||
|
"x-user-agent": "skyvern-ui",
|
||||||
"x-api-key": envCredential,
|
"x-api-key": envCredential,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
@@ -29,6 +31,7 @@ const clientSansApiV1 = axios.create({
|
|||||||
baseURL: apiSansApiV1BaseUrl,
|
baseURL: apiSansApiV1BaseUrl,
|
||||||
headers: {
|
headers: {
|
||||||
"Content-Type": "application/json",
|
"Content-Type": "application/json",
|
||||||
|
"x-user-agent": "skyvern-ui",
|
||||||
"x-api-key": envCredential,
|
"x-api-key": envCredential,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user