mirror of
https://github.com/lanqian528/chat2api.git
synced 2026-06-13 21:02:46 +08:00
v1.7.4-beta2 fix bugs
This commit is contained in:
parent
5873bdce59
commit
3d6046924c
@ -256,7 +256,7 @@ async def chatgpt_reverse_proxy(request: Request, path: str):
|
||||
.replace("webrtc.chatgpt.com", origin_host)
|
||||
.replace("cdn.oaistatic.com", origin_host)
|
||||
# .replace("files.oaiusercontent.com", origin_host)
|
||||
.replace("chatgpt.com", origin_host)
|
||||
.replace("https://chatgpt.com", "")
|
||||
.replace("https", petrol))
|
||||
rheaders = dict(r.headers)
|
||||
content_type = rheaders.get("content-type", "")
|
||||
|
||||
@ -1 +1 @@
|
||||
v1.7.4-beta1
|
||||
v1.7.4-beta2
|
||||
Loading…
Reference in New Issue
Block a user