hotfix for NEXT_PUBLIC_UPLOAD_FILESIZE_LIMIT_MB

This commit is contained in:
merelendor 2023-12-07 15:42:18 +03:00
parent d547d70a64
commit 2c9db8a2ae
2 changed files with 3 additions and 1 deletions

View File

@ -117,7 +117,7 @@ export default class FilesList extends React.Component
</svg>
<p><b>Ошибка</b>
{ errors.map((filename, index) => (
<React.Fragment key={ index }><span>Файл «{ filename }» превышает допустимый лимит в { process.env.NEXT_PUBLIC_UPLOAD_FILESIZE__MB }мб и не может быть загружен.</span><br/></React.Fragment>
<React.Fragment key={ index }><span>Файл «{ filename }» превышает допустимый лимит в { process.env.NEXT_PUBLIC_UPLOAD_FILESIZE_LIMIT_MB }мб и не может быть загружен.</span><br/></React.Fragment>
)) }
</p>
</div>

View File

@ -27,6 +27,8 @@ import {
sendAppealAttachments
} from "../../actions";
const LIMIT = 10000000;
class SupportRequestPage extends React.Component
{
constructor(props) {