80 lines
2.3 KiB
JSON
80 lines
2.3 KiB
JSON
{
|
|
"schemaVersion": 1,
|
|
"product": "Web Blender Modeler V1",
|
|
"browserScope": "Chromium",
|
|
"transport": {
|
|
"production": "https",
|
|
"localDevelopment": "http://127.0.0.1",
|
|
"fileProtocolSupported": false,
|
|
"sameOriginRuntimeAssets": true
|
|
},
|
|
"methods": ["GET", "HEAD"],
|
|
"responseHeaders": {
|
|
"allResponses": {
|
|
"Cross-Origin-Opener-Policy": "same-origin",
|
|
"Cross-Origin-Embedder-Policy": "require-corp",
|
|
"Cross-Origin-Resource-Policy": "same-origin",
|
|
"Content-Security-Policy": "default-src 'self'; script-src 'self' 'wasm-unsafe-eval'; worker-src 'self'; connect-src 'self'; font-src 'self'; img-src 'self'; media-src 'self'; object-src 'none'; base-uri 'none'; frame-ancestors 'none'"
|
|
},
|
|
"routes": [
|
|
{
|
|
"id": "entry-document",
|
|
"patterns": ["/", "/index.html"],
|
|
"cacheControl": "no-cache"
|
|
},
|
|
{
|
|
"id": "runtime-manifest",
|
|
"patterns": ["/engine-manifest.json"],
|
|
"cacheControl": "no-cache"
|
|
},
|
|
{
|
|
"id": "content-hashed-assets",
|
|
"patterns": ["/assets/*"],
|
|
"cacheControl": "public, max-age=31536000, immutable"
|
|
},
|
|
{
|
|
"id": "stable-engine-assets",
|
|
"patterns": ["/vendor/blender/*"],
|
|
"cacheControl": "no-cache"
|
|
},
|
|
{
|
|
"id": "fallback",
|
|
"patterns": ["*"],
|
|
"cacheControl": "no-cache"
|
|
}
|
|
]
|
|
},
|
|
"mimeTypes": {
|
|
".html": "text/html; charset=utf-8",
|
|
".js": "text/javascript; charset=utf-8",
|
|
".css": "text/css; charset=utf-8",
|
|
".wasm": "application/wasm",
|
|
".json": "application/json; charset=utf-8",
|
|
".png": "image/png",
|
|
".jpg": "image/jpeg",
|
|
".jpeg": "image/jpeg",
|
|
".webp": "image/webp",
|
|
".ttf": "font/ttf",
|
|
".otf": "font/otf",
|
|
".woff": "font/woff",
|
|
".woff2": "font/woff2",
|
|
".wav": "audio/wav",
|
|
".mp3": "audio/mpeg",
|
|
".ogg": "audio/ogg",
|
|
".mp4": "video/mp4",
|
|
".webm": "video/webm",
|
|
".blend": "application/octet-stream",
|
|
".nvdb": "application/x-nanovdb"
|
|
},
|
|
"rangeRequests": {
|
|
"extensions": [".wasm", ".blend", ".nvdb"],
|
|
"unit": "bytes",
|
|
"singleRangeOnly": true,
|
|
"etag": "strong-sha256",
|
|
"satisfiedStatus": 206,
|
|
"unsatisfiedStatus": 416,
|
|
"requiredSatisfiedHeaders": ["Accept-Ranges", "Content-Range", "Content-Length", "ETag"],
|
|
"ifRangeMismatch": "return-full-200"
|
|
}
|
|
}
|