diff --git a/src/config/index.js b/src/config/index.js index c874e11..b6bcb07 100644 --- a/src/config/index.js +++ b/src/config/index.js @@ -1,7 +1,7 @@ // 环境配置 const config = { development: { - baseURL: 'http://localhost:3000', + baseURL: 'https://minio.zrbjr.com/', uploadURL: import.meta.env.VITE_UPLOAD_BASE_URL || 'http://localhost:3000/api/upload' }, production: { @@ -36,7 +36,7 @@ export const getImageUrl = (imagePath) => { const cleanBaseURL = baseURL.replace(/\/$/, '') const cleanImagePath = imagePath.startsWith('/') ? imagePath : `/${imagePath}` const fullUrl = `${cleanBaseURL}${cleanImagePath}` - console.log('Development environment, returning:', fullUrl) + // console.log('Development environment, returning:', fullUrl) return fullUrl }