Skip to content

Commit faf1527

Browse files
authored
Codeit 3.3.0
2 parents 965b5cb + 8ed135d commit faf1527

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

filebrowser.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1272,7 +1272,7 @@ async function loadFileInHTML(fileEl, fileSha) {
12721272

12731273

12741274
// if file is over 1MB
1275-
if (resp.errors && resp.errors.length > 0 && resp.errors[0].code === 'too_large') {
1275+
if (resp.size >= 1000000 && resp.content === '') {
12761276

12771277
// show file size prompt
12781278

worker/client-channel.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55

66
// update worker name when updating worker
7-
const WORKER_NAME = 'codeit-worker-v548';
7+
const WORKER_NAME = 'codeit-worker-v549';
88

99

1010
// internal paths

0 commit comments

Comments
 (0)