Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
48 lines (44 loc) · 1.85 KB
/
Copy pathindex.html
File metadata and controls
48 lines (44 loc) · 1.85 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<!doctype html>
<html>
<head>
<title><%= productName %></title>
<meta charset="utf-8" />
<meta name="description" content="<%= productDescription %>" />
<meta name="format-detection" content="telephone=no" />
<meta name="msapplication-tap-highlight" content="no" />
<meta
name="viewport"
content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width<% if (ctx.mode.cordova || ctx.mode.capacitor) { %>, viewport-fit=cover<% } %>"
/>
<!--
script-src allows cdn.babylonjs.com because Babylon's Draco decoder
loads its wasm wrapper from there via importScripts inside a blob
worker; wasm-unsafe-eval is required for the worker to compile that
wasm module under a CSP with an explicit script-src. unsafe-eval is
required by manifold-3d (CSG2's Manifold library): its Emscripten
embind bindings call `new Function(...)` once per bound class to
build method invokers during setup(), which wasm-unsafe-eval alone
does not cover.
img-src allows assets.babylonjs.com because the axis guides' MSDF
text renderer loads its font atlas texture from there.
-->
<meta
http-equiv="Content-Security-Policy"
content="default-src 'self'; script-src 'self' https://cdn.babylonjs.com 'wasm-unsafe-eval' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; img-src 'self' data: https://raw.githubusercontent.com https://assets.babylonjs.com; connect-src 'self' https:; worker-src 'self' blob:;"
/>
<meta
name="theme-color"
content="#ffffff"
media="(prefers-color-scheme: light)"
/>
<meta
name="theme-color"
content="#000000"
media="(prefers-color-scheme: dark)"
/>
<link rel="icon" type="image/svg+xml" href="images/logo.svg" />
</head>
<body>
<!-- quasar:entry-point -->
</body>
</html>