XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet
公开
关注 0 Fork 0 Star 0
返回提交历史

XFEstudio/gpt4free

Update render function to use GITHUB_URL for download URL handling

99e647a0
hlohaus <983577+hlohaus@users.noreply.github.com>
提交于

代码差异

1 个文件 +1 -1
Modified g4f/gui/server/website.py +1 -1
@@ -16,7 +16,7 @@ def redirect_home():
16 16 return redirect('/chat/')
17 17
18 18 def render(filename = "home", download_url: str = GITHUB_URL):
19 if download_url == DOWNLOAD_URL:
19 if download_url == GITHUB_URL:
20 20 filename += ("" if "." in filename else ".html")
21 21 html = None
22 22 if os.path.exists(DIST_DIR) and not request.args.get("debug"):