We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb7f197 commit 3785b12Copy full SHA for 3785b12
js/copy-to-llm.js
@@ -107,7 +107,9 @@
107
try {
108
const response = await fetch(url, { credentials: 'omit' });
109
if (!response.ok) {
110
- return response.status === 404 ? { success: false, status: 404 } : { success: false, status: response.status };
+ return response.status === 404
111
+ ? { success: false, status: 404 }
112
+ : { success: false, status: response.status };
113
}
114
const blob = await response.blob();
115
const objectUrl = URL.createObjectURL(blob);
0 commit comments