Serve SVG assets in deployment contract
Some checks failed
M6 deployable RC / quick (push) Has been cancelled
M6 deployable RC / chromium (push) Has been cancelled
M6 deployable RC / release (push) Has been cancelled

This commit is contained in:
mes123456
2026-09-07 13:37:57 +08:00
parent 1510bc8644
commit a3588d41a3
4 changed files with 7 additions and 3 deletions

View File

@@ -199,8 +199,8 @@ with `200` and a different ETag. Immutable `/assets/*` names must include the Vi
never reused for different bytes.
The server must use the MIME map in the JSON contract. In particular, WebAssembly is
`application/wasm`, JavaScript is `text/javascript; charset=utf-8`, and NanoVDB is
`application/x-nanovdb`.
`application/wasm`, JavaScript is `text/javascript; charset=utf-8`, SVG is `image/svg+xml`, and
NanoVDB is `application/x-nanovdb`.
## Range and validators

View File

@@ -50,6 +50,7 @@
".css": "text/css; charset=utf-8",
".wasm": "application/wasm",
".json": "application/json; charset=utf-8",
".svg": "image/svg+xml",
".png": "image/png",
".jpg": "image/jpeg",
".jpeg": "image/jpeg",