浏览代码

修改接口地址

shmily1213 1 月之前
父节点
当前提交
3b52c6c999
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      back-ui/vite.config.js

+ 1 - 1
back-ui/vite.config.js

@@ -2,7 +2,7 @@ import { defineConfig, loadEnv } from 'vite'
 import path from 'path'
 import createVitePlugins from './vite/plugins'
 
-const baseUrl = 'http://localhost:8080' // 后端接口
+const baseUrl = 'https://dz.shineking.top/prod-api' // 后端接口
 
 // https://vitejs.dev/config/
 export default defineConfig(({ mode, command }) => {