Nosta uploadraja 8 MB → 20 MB

This commit is contained in:
2026-03-08 01:09:07 +02:00
parent d380884248
commit 9872093fb7
3 changed files with 3 additions and 3 deletions

View File

@@ -440,7 +440,7 @@ async function uploadImg(input, hiddenId, previewId, labelId) {
prev.style.display = 'block';
lbl.classList.add('has-image');
} catch (e) {
alert('Kuvan lataus epäonnistui. Tuetut muodot: JPG, PNG, GIF, WebP (max 8 MB).');
alert('Kuvan lataus epäonnistui. Tuetut muodot: JPG, PNG, GIF, WebP (max 20 MB).');
} finally {
lbl.style.opacity = '';
}