更新manifest文件以指向新的API和网关URL

将本地开发环境的API和网关URL更新为生产环境的URL,以确保在部署到Vercel时能够正确地调用API。这次更新涉及将URL从`http://localhost:3000`更改为`https://alps-tongyi-image.vercel.app`,以反映实际的生产环境设置。
This commit is contained in:
YoungTx 2024-08-01 17:57:33 +08:00
parent daa3f03922
commit bf0a87be0f
1 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
"identifier": "alps-tongyi-image", "identifier": "alps-tongyi-image",
"api": [ "api": [
{ {
"url": "http://localhost:3000/api/generate", "url": "https://alps-tongyi-image.vercel.app/api/generate",
"name": "generateImage", "name": "generateImage",
"description": "Generate an image based on the given prompt using Alibaba's Tongyi Wanxiang model", "description": "Generate an image based on the given prompt using Alibaba's Tongyi Wanxiang model",
"parameters": { "parameters": {
@ -17,7 +17,7 @@
} }
} }
], ],
"gateway": "http://localhost:3000/api/gateway", "gateway": "https://alps-tongyi-image.vercel.app/api/gateway",
"meta": { "meta": {
"avatar": "🎉", "avatar": "🎉",
"description": "This plugin uses Alibaba's Tongyi Wanxiang model to generate images based on text prompts.", "description": "This plugin uses Alibaba's Tongyi Wanxiang model to generate images based on text prompts.",