We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c06ca48 commit 897f180Copy full SHA for 897f180
frontend/src/lib/axios.ts
@@ -1,5 +1,10 @@
1
import axios, { AxiosRequestConfig, AxiosResponse } from "axios";
2
3
+const axiosInstance = axios.create({
4
+ baseURL: import.meta.env.VITE_API_URL,
5
+});
6
+
7
+export const Get = async <T>(
8
url: string,
9
config?: AxiosRequestConfig,
10
): Promise<AxiosResponse<T>> => {
0 commit comments