From d4920f7a0b3146a2218a210d3f93b655ff010eb3 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期四, 01 二月 2024 17:14:13 +0800
Subject: [PATCH] 开发业务接口
---
platform/vue.config.js | 17 +----------------
1 files changed, 1 insertions(+), 16 deletions(-)
diff --git a/platform/vue.config.js b/platform/vue.config.js
index 6b5f23a..12edf6e 100644
--- a/platform/vue.config.js
+++ b/platform/vue.config.js
@@ -1,24 +1,9 @@
-
-const outputDir = process.env.VUE_APP_CONTEXT_PATH.substring(1, process.env.VUE_APP_CONTEXT_PATH.length)
-// const proxyMiddleware = require('http-proxy-middleware');
module.exports = {
publicPath: './',
- outputDir: outputDir || 'web',
+ outputDir: 'web',
assetsDir: 'static',
lintOnSave: false,
devServer: {
- // before(app) {
- // app.use(
- // [process.env.VUE_APP_API_PREFIX],
- // proxyMiddleware({
- // target: process.env.VUE_APP_API,
- // changeOrigin: true,
- // pathRewrite: {
- // [`^${[process.env.VUE_APP_API_PREFIX]}`]: ''
- // }
- // })
- // );
- // },
host: '0.0.0.0',
port: 10086,
proxy: {
--
Gitblit v1.9.3