/ src / renderer / index.html
index.html
 1  <!doctype html>
 2  <html>
 3    <head>
 4      <meta charset="utf-8" />
 5      <!-- default-src 'self'; should not be added due to fetch -->
 6      <!-- img-src 'self' data: -->
 7      <!-- Enabling unsafe-eval due to ECharts Rendering: https://github.com/imzbf/md-editor-v3/blob/e1796bdba97b6fdc3b11dfc6f10897173b83d415/packages/MdEditor/layouts/Content/composition/useEcharts.ts#L100  -->
 8      <meta
 9        http-equiv="Content-Security-Policy"
10        content="script-src 'self'; style-src 'self' 'unsafe-inline';"
11      />
12    </head>
13    <body>
14      <div id="app"></div>
15    </body>
16    <script type="module" src="./main.ts"></script>
17  </html>