From bf0a87be0f8445443328244ae251441f4e291fe9 Mon Sep 17 00:00:00 2001 From: YoungTx Date: Thu, 1 Aug 2024 17:57:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0manifest=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E4=BB=A5=E6=8C=87=E5=90=91=E6=96=B0=E7=9A=84API=E5=92=8C?= =?UTF-8?q?=E7=BD=91=E5=85=B3URL?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将本地开发环境的API和网关URL更新为生产环境的URL,以确保在部署到Vercel时能够正确地调用API。这次更新涉及将URL从`http://localhost:3000`更改为`https://alps-tongyi-image.vercel.app`,以反映实际的生产环境设置。 --- public/manifest-vercel.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/manifest-vercel.json b/public/manifest-vercel.json index 10b9765..e3622e9 100644 --- a/public/manifest-vercel.json +++ b/public/manifest-vercel.json @@ -2,7 +2,7 @@ "identifier": "alps-tongyi-image", "api": [ { - "url": "http://localhost:3000/api/generate", + "url": "https://alps-tongyi-image.vercel.app/api/generate", "name": "generateImage", "description": "Generate an image based on the given prompt using Alibaba's Tongyi Wanxiang model", "parameters": { @@ -17,7 +17,7 @@ } } ], - "gateway": "http://localhost:3000/api/gateway", + "gateway": "https://alps-tongyi-image.vercel.app/api/gateway", "meta": { "avatar": "🎉", "description": "This plugin uses Alibaba's Tongyi Wanxiang model to generate images based on text prompts.",