add:fronted

This commit is contained in:
lan committed 2023-08-11 19:26:49 +08:00
1 parent 25f94fc0bc
commit 7b5adcc5b7
31 files changed
+3752

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
// @ts-ignore
import axios from "axios";
const instance = axios.create({
baseURL: "",
timeout: 6000000,
headers:{
'Authorization':localStorage.getItem('auth')
}
});
const Request = axios.create({
baseURL: "http://localhost:8000",
timeout: 6000000,
});
export const request = Request;
export const http = instance;