Browse Source

Setup CSP for pdf.js sandbox.

pull/196/head
Joachim Bauch 10 years ago
parent
commit
33f0ae2071
  1. 1
      static/partials/pdfcanvas_sandbox.html

1
static/partials/pdfcanvas_sandbox.html

@ -2,6 +2,7 @@ @@ -2,6 +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'">
<style type="text/css">
html, body {
height:100%;

Loading…
Cancel
Save