From 7160c12ee6c5eb9ffbce1caea864110f3585c0e1 Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期二, 25 二月 2025 17:29:16 +0800
Subject: [PATCH] Merge branch 'master' of http://120.26.58.240:8888/r/LifePaymentFront
---
apps/taro/config/index.js | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/apps/taro/config/index.js b/apps/taro/config/index.js
index f29f8a6..fbd1d2e 100644
--- a/apps/taro/config/index.js
+++ b/apps/taro/config/index.js
@@ -193,6 +193,17 @@
h5: {
publicPath: '/',
staticDirectory: 'static',
+ router: {
+ mode: 'browser',
+ },
+ devServer: {
+ proxy: {
+ '/api': {
+ target: 'http://localhost:57190', // 鐩爣鏈嶅姟鍣ㄥ湴鍧�
+ changeOrigin: true,
+ },
+ },
+ },
postcss: {
autoprefixer: {
enable: true,
@@ -212,6 +223,9 @@
},
},
},
+ htmlPluginOption: {
+ favicon: './public/logo-v.png',
+ },
webpackChain(chain, webpack) {
chain.plugin('unplugin-auto-import').use(
AutoImport({
--
Gitblit v1.9.1