cloud.jingrow.com 替换为 console.jingrow.com

This commit is contained in:
jingrow 2026-01-20 22:12:48 +08:00
parent f092728a04
commit e2d7d80231
7 changed files with 7 additions and 7 deletions

View File

@ -195,7 +195,7 @@ function formatDate(dateString: string): string {
function getImageUrl(url: string) {
if (!url) return ''
if (url.startsWith('http')) return url
return `https://cloud.jingrow.com${url}`
return `https://console.jingrow.com${url}`
}
function handleImageError(event: Event) {

View File

@ -368,7 +368,7 @@ function getImageUrl(imageUrl: string): string {
return imageUrl
}
// 使URL
const cloudUrl = 'https://cloud.jingrow.com'
const cloudUrl = 'https://console.jingrow.com'
return `${cloudUrl}${imageUrl.startsWith('/') ? '' : '/'}${imageUrl}`
}

View File

@ -236,7 +236,7 @@ function getImageUrl(imageUrl: string): string {
return imageUrl
}
// 使URL
const cloudUrl = 'https://cloud.jingrow.com'
const cloudUrl = 'https://console.jingrow.com'
return `${cloudUrl}${imageUrl.startsWith('/') ? '' : '/'}${imageUrl}`
}

View File

@ -236,7 +236,7 @@ function getImageUrl(imageUrl: string): string {
return imageUrl
}
// 使URL
const cloudUrl = 'https://cloud.jingrow.com'
const cloudUrl = 'https://console.jingrow.com'
return `${cloudUrl}${imageUrl.startsWith('/') ? '' : '/'}${imageUrl}`
}

View File

@ -207,7 +207,7 @@ function getImageUrl(imageUrl: string): string {
return imageUrl
}
// 使URL
const cloudUrl = 'https://cloud.jingrow.com'
const cloudUrl = 'https://console.jingrow.com'
return `${cloudUrl}${imageUrl.startsWith('/') ? '' : '/'}${imageUrl}`
}

View File

@ -389,7 +389,7 @@ function getImageUrl(imageUrl: string): string {
return imageUrl
}
// 使URL
const cloudUrl = 'https://cloud.jingrow.com'
const cloudUrl = 'https://console.jingrow.com'
return `${cloudUrl}${imageUrl.startsWith('/') ? '' : '/'}${imageUrl}`
}

View File

@ -14,7 +14,7 @@ const appsDir = path.resolve(currentDir, '..', '..')
export default defineConfig(({ mode, command }) => {
const env = loadEnv(mode, process.cwd(), '')
const BACKEND_URL = env.VITE_BACKEND_SERVER_URL || 'https://api.jingrow.com'
const JCLOUD_URL = env.VITE_JCLOUD_SERVER_URL || 'https://cloud.jingrow.com'
const JCLOUD_URL = env.VITE_JCLOUD_SERVER_URL || 'https://console.jingrow.com'
const FRONTEND_HOST = env.VITE_FRONTEND_HOST || '0.0.0.0'
const FRONTEND_PORT = Number(env.VITE_FRONTEND_PORT) || 3001
const ALLOWED_HOSTS = (env.VITE_ALLOWED_HOSTS || '').split(',').map((s) => s.trim()).filter(Boolean)