From d6e8780fb1b2fe5d14186901f0a45bbc7abbf3eb Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期一, 24 二月 2025 15:26:48 +0800
Subject: [PATCH] fix: 对接

---
 apps/taro/config/prod.js |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/apps/taro/config/prod.js b/apps/taro/config/prod.js
index a026528..3099e80 100644
--- a/apps/taro/config/prod.js
+++ b/apps/taro/config/prod.js
@@ -1,8 +1,10 @@
+const path = require('path');
+
 module.exports = {
   env: {
     NODE_ENV: '"production"',
     BASE_URL: '"https://api.81812333.com"',
-    BASE_URL_H5: '"/"',
+    BASE_URL_H5: '"https://api.81812333.com"',
     BASE_URL_JX: '"https://api.jx818.com"',
 
     OSS_URL: '"https://parkmanagement.oss-cn-hangzhou.aliyuncs.com"',
@@ -12,6 +14,9 @@
   defineConstants: {},
   mini: {},
   h5: {
+    output: {
+      path: path.resolve(__dirname, '..', `dist/h5-prod`),
+    },
     /**
      * WebpackChain 鎻掍欢閰嶇疆
      * @docs https://github.com/neutrinojs/webpack-chain

--
Gitblit v1.9.1