feat(catalog): connect product pages to backend
This commit is contained in:
@@ -14,6 +14,8 @@ const config = {
|
||||
plugins: [],
|
||||
defineConstants: {
|
||||
__OSS_BASE_URL__: JSON.stringify(process.env.OSS_BASE_URL || ''),
|
||||
// 接口基址由本机 .env 注入;不写则继续使用已部署的测试服务。
|
||||
__API_BASE_URL__: JSON.stringify(process.env.TARO_APP_API_BASE_URL || 'https://wxbackend.tokenleaping.com'),
|
||||
},
|
||||
copy: {
|
||||
patterns: [
|
||||
|
||||
Reference in New Issue
Block a user