feat v1.23.2: raise the manual-upload limit to 50 MB

MAX_FILE_BYTES 25→50 MB (still enforced while the multipart body streams in);
frontend fallback in the error toast updated; TESTING.md row updated.
This commit is contained in:
Matysh
2026-07-21 08:02:53 +03:00
parent 70d3453f78
commit 1fa6c6cdee
11 changed files with 20 additions and 14 deletions
+2 -2
View File
@@ -30,7 +30,7 @@ import './space-card';
import { cardStyles } from './styles';
import { langOf, t, type I18nKey } from './i18n';
const CARD_VERSION = '1.23.1';
const CARD_VERSION = '1.23.2';
const LS_KEY = 'houseplan_card_layout_v1';
const LS_CFG = 'houseplan_card_cfg_v1'; // cache of the server config+layout for instant rendering
const LS_ZOOM = 'houseplan_card_zoom_v1';
@@ -1687,7 +1687,7 @@ class HouseplanCard extends LitElement {
const json = await resp.json().catch(() => ({}));
if (!resp.ok || json.error) {
const map: Record<string, string> = {
too_large: this._t('err.too_large', { mb: json.max_mb || 25 }),
too_large: this._t('err.too_large', { mb: json.max_mb || 50 }),
bad_ext: this._t('err.bad_ext'),
unauthorized: this._t('err.unauthorized'),
};