Files
rlz/coupon/utils/config.js
renjianbo f5024c0ed0 fix: image URLs incorrectly using API base URL instead of image base URL
Images are served from MinIO directly, not through /prod-api proxy.
Add imageBaseUrl to config and use it in fixImageUrl() and WXML templates.
This fixes images not loading on order list and detail pages.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-07 11:34:33 +08:00

12 lines
427 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// 环境配置 - 切换环境只需修改此文件
const config = {
// 开发环境本地后端需改为本机IP
// baseUrl: 'http://192.168.1.100:8039',
// 生产环境(通过 nginx 代理HTTPS + 域名)
baseUrl: 'https://ruilaizipj.com/prod-api',
// 图片/文件访问基地址(不走 /prod-api 代理MinIO 直接访问)
imageBaseUrl: 'https://ruilaizipj.com',
}
module.exports = config