Spaces:
Sleeping
Sleeping
Update static/index.html
Browse files- 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 =
|
| 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();
|