Browse Source

Need to allow "unsafe-eval" for pdf.js optimizations.

pull/196/head
Joachim Bauch 10 years ago
parent
commit
3c989f1a04
  1. 2
      static/partials/pdfcanvas_sandbox.html

2
static/partials/pdfcanvas_sandbox.html

@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
<html>
<head>
<title>pdf.js Sandbox</title>
<meta http-equiv="Content-Security-Policy" content="default-src 'none'; script-src __PARENT_ORIGIN__; img-src 'self'; style-src 'unsafe-inline'">
<meta http-equiv="Content-Security-Policy" content="default-src 'none'; script-src __PARENT_ORIGIN__ 'unsafe-eval'; img-src 'self'; style-src 'unsafe-inline'">
<style type="text/css">
html, body {
height:100%;

Loading…
Cancel
Save