目录名称修正
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
import axios from 'axios'
|
||||
import store from '../store'
|
||||
|
||||
const baseURL = process.env.NODE_ENV === "production" ? "/" :
|
||||
sessionStorage.getItem("prj") == "saas" ? "/saas" : "/lan"
|
||||
let instance = axios.create({
|
||||
baseURL: process.env.NODE_ENV === "production" ? "/" : "/lan",
|
||||
baseURL,
|
||||
timeout: 600000,
|
||||
withCredentials: true,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user