chore: point miniapp API to deployed hera service
This commit is contained in:
1 parent
5be2ca6b50
commit
bc7bbc52c8
5 files changed
+39
-7
No files matched your search
+1
-1
@@ -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: [],
|
||||
|
||||
Reference in new issue
Block a user