fix(config): 改回了baseURL(由于临时测试导致的后端地址错误)
This commit is contained in:
parent
6c71ca2721
commit
9968c67a6b
@ -2,7 +2,7 @@ import path from 'path'
|
|||||||
import { defineConfig, loadEnv } from 'vite'
|
import { defineConfig, loadEnv } from 'vite'
|
||||||
import createVitePlugins from './vite/plugins'
|
import createVitePlugins from './vite/plugins'
|
||||||
|
|
||||||
const baseUrl = 'http://192.168.2.51:8080' // 后端接口
|
const baseUrl = 'http://127.0.0.1:8080' // 后端接口
|
||||||
|
|
||||||
// https://vitejs.dev/config/
|
// https://vitejs.dev/config/
|
||||||
export default defineConfig(({ mode, command }) => {
|
export default defineConfig(({ mode, command }) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user