Files
xiaozhi-esp32-server/main/manager-web/vue.config.js
T

15 lines
341 B
JavaScript
Raw Normal View History

2025-03-12 13:38:44 +08:00
const { defineConfig } = require('@vue/cli-service');
const dotenv = require('dotenv');
dotenv.config();
module.exports = defineConfig({
devServer: {
// Bug 修复:将代理配置为环境变量中定义的 API 基础 URL
proxy: process.env.VUE_APP_API_BASE_URL,
client: {
overlay: false,
},
}
})