WongSaang / chatgpt-ui

A ChatGPT web client that supports multiple users, multiple languages, and multiple database connections for persistent data storage. Provides Docker images and quick deployment scripts.
https://wongsaang.github.io/chatgpt-ui/
MIT License
1.51k stars 333 forks source link

SSR模式修改docker容器内的js文件后,工作不正常,如何解决 #122

Closed luowei729 closed 1 year ago

luowei729 commented 1 year ago

image

WongSaang commented 1 year ago

修改了哪里?怎么不正常?

luowei729 commented 1 year ago

chatgpt说可以开启SSR框架的热更新功能,实现自动重新渲染,是否能够解决这个问题

luowei729 commented 1 year ago

chatgpt说可以开启SSR框架的热更新功能,实现自动重新渲染,是否能够解决这个问题

修改了哪里?怎么不正常?

image 修改主页的任何文字都会出问题

WongSaang commented 1 year ago

建议修改源码后构建

luowei729 commented 1 year ago

建议修改源码后构建

构建是否要搭建环境,没看到wiki上有相关构建教程

WongSaang commented 1 year ago

https://github.com/WongSaang/chatgpt-ui#development

WongSaang commented 1 year ago

拉取项目到本地,修改后直接 docker build