mirror of
https://github.com/Matysh/houseplan-card
synced 2026-07-31 08:28:31 +00:00
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:
@@ -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'),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user