Closed
Description
Tesseract 2.0.0-beta.2 fails to run with:
Content Security Policy: The page’s settings blocked the loading of a resource at eval (“script-src”).
This is a regression from 2.0.0-alpha.16.
This is caused by the line Function("r", "regeneratorRuntime = r")(runtime);
introduced by facebook/regenerator@063f14e in the regenerator
module
I suspect this may have been introduced in Tesseract.js by 8e73c8d but I haven't actually checked yet.
Metadata
Assignees
Labels
No labels