chore: point miniapp API to deployed hera service

This commit is contained in:
zhouzhibo committed 2026-10-17 22:58:40 +08:00
1 parent 5be2ca6b50
commit bc7bbc52c8
5 files changed
+39 -7

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@ export default defineConfig(async () => ({
outputRoot: process.env.TARO_ENV === 'h5' ? 'dist-h5' : 'dist',
plugins: ['@tarojs/plugin-framework-react'],
defineConstants: {
API_BASE_URL: JSON.stringify((process.env.HERA_API_BASE_URL || 'http://127.0.0.1:8080').replace(/\/+$/, ''))
API_BASE_URL: JSON.stringify((process.env.HERA_API_BASE_URL || 'http://101.43.139.56/hera').replace(/\/+$/, ''))
},
copy: {
patterns: [],