环境变量修改为VITE前缀
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ import store from '@/store'
|
||||
import { router } from '@/router'
|
||||
|
||||
const http = axios.create({
|
||||
baseURL: import.meta.env.VUE_APP_API_BASE,
|
||||
baseURL: import.meta.env.VITE_APP_API_BASE,
|
||||
timeout: 10000,
|
||||
paramsSerializer: {
|
||||
indexes: null
|
||||
|
||||
Reference in New Issue
Block a user