Skip to content

Commit bd64068

Browse files
authored
fix: upload size limit (#92)
1 parent f7031ff commit bd64068

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src-tauri/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/ProblemEditor.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ const onRemoveTestCases = async (testCase: TestCase) => {
351351
v-model="visibility"></Select>
352352
</InputGroup>
353353
</div>
354-
<FileUpload customUpload :multiple="true" accept=".in,.out" :maxFileSize="12 * 1024 * 1024"
354+
<FileUpload customUpload :multiple="true" accept=".in,.out" :maxFileSize="64 * 1024 * 1024"
355355
@select="onSelectedFiles">
356356
<template #header="{ chooseCallback, clearCallback, files }">
357357
<div class="flex flex-wrap justify-between items-center flex-1 gap-4">

0 commit comments

Comments
 (0)