Hk-Gosuto / ChatGPT-Next-Web-LangChain

一键拥有你自己的 ChatGPT 网页服务。 One-Click to deploy your own ChatGPT web UI.(基于 langchain 实现的插件版本 Plugin version implemented based on langchain)
https://n3xt.chat
MIT License
1.16k stars 384 forks source link

[Bug] Artifacts需刷新页面/切换聊天tab 来显示HTML #314

Closed MuRo-J closed 1 month ago

MuRo-J commented 1 month ago

📦 部署方式

Vercel

📌 软件版本

最新

💻 系统环境

macOS

📌 系统版本

默认

🌐 浏览器

Chrome

📌 浏览器版本

默认

🐛 问题描述

大佬,感谢您的付出,现在最喜欢您的版本 今天尝试了下 Artifacts需要刷新页面,或者切换聊天刷新后能正常渲染html 不确定是否是预期结果

📷 复现步骤

见录屏 https://github.com/user-attachments/assets/6056526e-dbb0-4bff-abfd-d055269da601

🚦 期望结果

No response

📝 补充信息

No response

Issues-translate-bot commented 1 month ago

Bot detected the issue body's language is not English, translate it automatically.


Title: [Bug]

📦 Deployment method

Vercel

📌 Software version

up to date

💻 System environment

macOS

📌 System version

default

🌐 Browser

Chrome

📌 Browser version

default

🐛 Problem description

Boss, thank you for your efforts. I like your version best now. Tried it today Artifacts need to refresh the page, or switch the chat and refresh to render html normally Not sure if this is the expected result

📷 Steps to reproduce

See screen recording https://github.com/user-attachments/assets/6056526e-dbb0-4bff-abfd-d055269da601

🚦 Expected results

No response

📝 Supplementary information

No response

Hk-Gosuto commented 1 month ago

使用其他方式实现了 Artifacts 页面渲染的监听,试试看是否修复了。

Issues-translate-bot commented 1 month ago

Bot detected the issue body's language is not English, translate it automatically.


Use other methods to monitor the rendering of the Artifacts page, try to see if it is fixed.

MuRo-J commented 1 month ago

哥我发现了错误原因, app/api/webdav/[...path]/route.ts 的第9行, allowedWebDevEndpoints 应该是 allowedWebDavEndpoints 或者修改其他的 Dav 小问题,我自己先手动修改了本地

对git不熟练不太会提交pr到上游,给您添麻烦啦

Issues-translate-bot commented 1 month ago

Bot detected the issue body's language is not English, translate it automatically.


Brother, I found the cause of the error, app/api/webdav/[...path]/route.ts On line 9, allowedWebDevEndpoints should be allowedWebDavEndpoints Or modify other Dav Small problem, I manually modified the local

I'm not familiar with git and don't know how to submit PR to upstream. I'm causing trouble for you.

Hk-Gosuto commented 1 month ago

哥我发现了错误原因, app/api/webdav/[...path]/route.ts 的第9行, allowedWebDevEndpoints 应该是 allowedWebDavEndpoints 或者修改其他的 Dav 小问题,我自己先手动修改了本地

对git不熟练不太会提交pr到上游,给您添麻烦啦

这个应该是我上次同步上游代码漏了,我来处理下。

Issues-translate-bot commented 1 month ago

Bot detected the issue body's language is not English, translate it automatically.


Brother, I found the cause of the error. In line 9 of app/api/webdav/[...path]/route.ts, allowedWebDevEndpoints should be allowedWebDavEndpoints or modify other Dav minor issues. I manually modified the local

If you are not proficient in git, you will not be able to submit PR to the upstream, which will cause trouble for you.

This should be something I missed in synchronizing the upstream code last time. I'll take care of it.