diff --git a/src/views/dev/AppDetail.vue b/src/views/dev/AppDetail.vue index 79074b0..56ca046 100644 --- a/src/views/dev/AppDetail.vue +++ b/src/views/dev/AppDetail.vue @@ -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) { diff --git a/src/views/dev/AppMarketplace.vue b/src/views/dev/AppMarketplace.vue index a78987b..8388f59 100644 --- a/src/views/dev/AppMarketplace.vue +++ b/src/views/dev/AppMarketplace.vue @@ -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}` } diff --git a/src/views/dev/MyPublishedApps.vue b/src/views/dev/MyPublishedApps.vue index 208e0b9..fe44b0c 100644 --- a/src/views/dev/MyPublishedApps.vue +++ b/src/views/dev/MyPublishedApps.vue @@ -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}` } diff --git a/src/views/dev/MyPublishedTools.vue b/src/views/dev/MyPublishedTools.vue index ff452d0..c91670f 100644 --- a/src/views/dev/MyPublishedTools.vue +++ b/src/views/dev/MyPublishedTools.vue @@ -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}` } diff --git a/src/views/dev/ToolDetail.vue b/src/views/dev/ToolDetail.vue index 39e90d0..c1ed656 100644 --- a/src/views/dev/ToolDetail.vue +++ b/src/views/dev/ToolDetail.vue @@ -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}` } diff --git a/src/views/dev/ToolMarketplace.vue b/src/views/dev/ToolMarketplace.vue index 3111251..7953a67 100644 --- a/src/views/dev/ToolMarketplace.vue +++ b/src/views/dev/ToolMarketplace.vue @@ -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}` } diff --git a/vite.config.ts b/vite.config.ts index 601729e..b7c3e23 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -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)