This commit is contained in:
yuping
2022-12-14 20:36:37 +08:00
parent 1ce9bf7c4d
commit 42340e38d0
9 changed files with 63 additions and 23 deletions

View File

@@ -16,7 +16,7 @@ import axios from "axios";
axios.defaults.withCredentials = true;
const http = axios.create({
baseURL: "/manageApi",
baseURL: process.env.VITE_BASE_API,
timeout: 1000 * 15,
// headers: { "Content-Type": "multipart/form-data" },
headers: { "Content-Type": "application/json" },