Added the MP4 and WOFF2 cases to the AssetExtension enumeration.

This commit is contained in:
2026-08-25 16:06:05 +02:00
parent 1033cab2af
commit 5b2da4eb16
2 changed files with 26 additions and 13 deletions
@@ -53,38 +53,44 @@ private extension AssetExtensionTests {
static let extensions: [AssetExtension] = [
.css,
.js,
.png,
.jpg,
.webp,
.ico,
.jpg,
.js,
.mp4,
.png,
.svg,
.txt,
.webmanifest,
.webp,
.woff2,
.xml
]
static let contentTypes: [String] = [
"text/css",
"text/javascript",
"image/png",
"image/jpeg",
"image/webp",
"image/vnd.microsoft.icon",
"image/jpeg",
"text/javascript",
"video/mp4",
"image/png",
"image/svg+xml",
"text/plain",
"application/manifest+json",
"image/webp",
"font/woff2",
"application/xml"
]
static let folders: [String?] = [
"css",
nil,
"img",
"js",
nil,
"media",
"media",
"video",
nil,
nil,
nil,
nil,
"img",
"font",
nil
]