返回提交历史
Modified
g4f/gui/client/index.html
+1
-1
Modified
g4f/gui/client/static/js/chat.v1.js
+1
-1
XFEstudio/gpt4free
Report erros in UI by default
1378c502
代码差异
2 个文件
+2
-2
@@ -153,7 +153,7 @@
153
153
</div>
154
154
<div class="field">
155
155
<span class="label">Report errors</span>
156
<input type="checkbox" id="report_error"/>
156
<input type="checkbox" id="report_error" checked/>
157
157
<label for="report_error" class="toogle" title=""></label>
158
158
</div>
159
159
<div class="field box">
@@ -2302,7 +2302,7 @@ async function api(ressource, args=null, files=null, message_id=null, scroll=tru
2302
2302
}
2303
2303
} else if (args) {
2304
2304
if (ressource == "log") {
2305
if (appStorage.getItem("report_error") != "true") {
2305
if (!document.getElementById("report_error").checked) {
2306
2306
return;
2307
2307
}
2308
2308
url = `https://roxky-g4f-demo.hf.space${url}`;