Download using objectURL of a blob - #73
Conversation
| @@ -1,4 +1,6 @@ | |||
| /* globals $ */ | |||
| /* globals Blob */ | |||
| /* global Prism */ | |||
There was a problem hiding this comment.
Is there a difference between globals (as in line 2) and global (as in line 3) here?
There was a problem hiding this comment.
Thank you, @kba. The new code works fine (installed and tested on https://digi.bib.uni-mannheim.de/ocr-fileformat).
| && update-ca-certificates \ | ||
| && make install \ | ||
| && cp docker.config.php web/config.local.php \ | ||
| && sed -i '/^upload_max_filesize/ s/=.*$/= 100M' \ |
There was a problem hiding this comment.
There seems to be a problem with the automated Docker build on docker hub: https://hub.docker.com/r/ubma/ocr-fileformat/builds/bvafgbah9zqysoblyvupmeg/
There was a problem hiding this comment.
Fixed. Since the image sizes don't differ now, I'll sumit my dev Dockerfile later.
|
I have committed a fix for |
The data-URL technique only works for reasonably short strings, this is a more robust implementation. Should work for transformations from URL and upload.