new structure

This commit is contained in:
2025-09-22 14:53:19 -06:00
parent c68e8e0b17
commit f39ba8e199
15 changed files with 36 additions and 25 deletions
+1 -1
View File
@@ -11,7 +11,6 @@ const apiClient = axios.create({
apiClient.interceptors.request.use((config) => {
const token = Cookies.get("token");
console.log(token)
if (token) {
if (config.headers && "set" in config.headers) {
config.headers.set("Authorization", `Bearer ${token}`);
@@ -21,3 +20,4 @@ apiClient.interceptors.request.use((config) => {
});
export default apiClient;
//IO