Spaces:
Sleeping
Sleeping
File size: 329 Bytes
13ae717 8185bfc 13ae717 8185bfc |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
import axios from "axios";
export const api = axios.create({
baseURL: `/api`,
headers: {
cache: "no-store",
},
});
export const apiServer = axios.create({
baseURL: process.env.NEXT_APP_API_URL as string,
headers: {
cache: "no-store",
},
});
api.interceptors.request.use((config) => {
return config;
});
|