更改图片获取链接

This commit is contained in:
dzl
2025-09-03 09:15:40 +08:00
parent 944998ce59
commit 546bc4008d
2 changed files with 3 additions and 3 deletions

View File

@@ -1,3 +1,3 @@
# 开发环境配置 # 开发环境配置
VITE_API_BASE_URL=/api VITE_API_BASE_URL=https://minio.zrbjr.com/
VITE_UPLOAD_BASE_URL=/api/upload VITE_UPLOAD_BASE_URL=https://minio.zrbjr.com/api/upload

View File

@@ -1,7 +1,7 @@
// 环境配置 // 环境配置
const config = { const config = {
development: { development: {
baseURL: 'https://minio.zrbjr.com/', baseURL: import.meta.env.VITE_API_BASE_URL || 'https://minio.zrbjr.com/',
uploadURL: import.meta.env.VITE_UPLOAD_BASE_URL || 'http://localhost:3000/api/upload' uploadURL: import.meta.env.VITE_UPLOAD_BASE_URL || 'http://localhost:3000/api/upload'
}, },
production: { production: {