Skip to content

Commit 80ffe3d

Browse files
committed
chore: modify judger data file size limit
1 parent a4310c1 commit 80ffe3d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/UploadJudgerDataModal.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class UploadJudgerDataModal extends React.Component<Props, State> {
4444
{ name: 'ZIP', type: 'application/zip-compressed' },
4545
{ name: 'ZIP', type: 'application/x-zip-compressed' },
4646
],
47-
500,
47+
256,
4848
)(file);
4949
if (!valid) {
5050
console.log('Invalid file type or size');
@@ -220,7 +220,7 @@ class UploadJudgerDataModal extends React.Component<Props, State> {
220220
<p>DO NOT use Windows Notepad and other CRLF mode editors to edit file.</p>
221221
<p>
222222
The maximum number of test cases is <strong>100</strong>, and the maximum archive size
223-
is <strong>500 MiB</strong>.
223+
is <strong>256 MiB</strong>.
224224
</p>
225225
{dataUsingGit && (
226226
<>

0 commit comments

Comments
 (0)