Open bingjiw opened 1 month ago
路径错了
谢谢,域名后应该要加上 /v1 对吧?
On 28 May 2024, at 10:42, Ghostz @.***> wrote:
路径错了
— Reply to this email directly, view it on GitHub https://github.com/songquanpeng/one-api/issues/1473#issuecomment-2134256812, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE5J6XXTYWKAE7JSFNPXA2LZEPVKJAVCNFSM6AAAAABIL5QP5SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZUGI2TMOBRGI. You are receiving this because you authored the thread.
问题描述
调用API时返回的是WEB界面的HTML代码,如下:
Bad Gateway: HTTP code 200 from API (<!doctype html><html lang="zh-CN"><head><title>One API</title><link rel="icon" href="/favicon.ico"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#2296f3"/><meta name="description" content="OpenAI 接口聚合管理,支持多种渠道包括 Azure,可用于二次分发管理 key,仅单可执行文件,已打包好 Docker 镜像,一键部署,开箱即用"/><script defer="defer" src="/static/js/main.5b38f9ab.js"></script><link href="/static/css/main.d77598b1.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>)
复现步骤
预期结果
相关截图 如果没有的话,请删除此节。