Tasks page implementation (#120)
This commit is contained in:
12
skyvern-frontend/src/api/AxiosClient.ts
Normal file
12
skyvern-frontend/src/api/AxiosClient.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { apiBaseUrl, credential } from "@/util/env";
|
||||
import axios from "axios";
|
||||
|
||||
const client = axios.create({
|
||||
baseURL: apiBaseUrl,
|
||||
headers: {
|
||||
"Content-Type": "application/json",
|
||||
"x-api-key": credential,
|
||||
},
|
||||
});
|
||||
|
||||
export { client };
|
||||
Reference in New Issue
Block a user