返回提交历史
Modified
g4f/gui/server/website.py
+1
-1
XFEstudio/gpt4free
Comment out JSDELIVR_URL replacement in render function to prevent URL rewriting
0804d683
代码差异
1 个文件
+1
-1
@@ -66,7 +66,7 @@ def render(filename = "home", download_url: str = GITHUB_URL):
66
66
html = response.text
67
67
html = html.replace("../dist/", f"dist/")
68
68
html = html.replace("\"dist/", f"\"{STATIC_URL}dist/")
69
html = html.replace(JSDELIVR_URL, "/")
69
# html = html.replace(JSDELIVR_URL, "/")
70
70
html = html.replace("{{ v }}", latest_version)
71
71
if is_temp:
72
72
return html