ntdservices commited on
Commit
707a37c
·
verified ·
1 Parent(s): 093bbfa

Update static/index.html

Browse files
Files changed (1) hide show
  1. static/index.html +1 -1
static/index.html CHANGED
@@ -265,7 +265,7 @@
265
 
266
  async function fileToDataURL(file){
267
  if (!file) return '';
268
- const maxInlineMB = 40;
269
  if (file.size > maxInlineMB * 1024 * 1024) { alert(`File is larger than ${maxInlineMB} MB. Use a URL instead.`); return ''; }
270
  return new Promise((res,rej)=>{
271
  const r = new FileReader();
 
265
 
266
  async function fileToDataURL(file){
267
  if (!file) return '';
268
+ const maxInlineMB = 250;
269
  if (file.size > maxInlineMB * 1024 * 1024) { alert(`File is larger than ${maxInlineMB} MB. Use a URL instead.`); return ''; }
270
  return new Promise((res,rej)=>{
271
  const r = new FileReader();