diff options
-rw-r--r-- | std/media_types/db.json (renamed from std/media_types/db_c50e0d1.json) | 7 | ||||
-rw-r--r-- | std/media_types/deps.ts | 2 | ||||
-rw-r--r-- | std/media_types/test.ts | 1 |
3 files changed, 5 insertions, 5 deletions
diff --git a/std/media_types/db_c50e0d1.json b/std/media_types/db.json index 8444e8b39..513d1bd5a 100644 --- a/std/media_types/db_c50e0d1.json +++ b/std/media_types/db.json @@ -1537,6 +1537,9 @@ "application/tve-trigger": { "source": "iana" }, + "application/typescript": { + "extensions": ["ts"] + }, "application/tzif": { "source": "iana" }, @@ -7718,10 +7721,6 @@ "video/mp2p": { "source": "iana" }, - "video/mp2t": { - "source": "iana", - "extensions": ["ts"] - }, "video/mp4": { "source": "iana", "compressible": false, diff --git a/std/media_types/deps.ts b/std/media_types/deps.ts index 2a56d2079..b09c25817 100644 --- a/std/media_types/deps.ts +++ b/std/media_types/deps.ts @@ -11,5 +11,5 @@ interface DB { }; } -import _db from "./db_c50e0d1.json"; +import _db from "./db.json"; export const db: DB = _db; diff --git a/std/media_types/test.ts b/std/media_types/test.ts index c3caf71df..0bf39e298 100644 --- a/std/media_types/test.ts +++ b/std/media_types/test.ts @@ -27,6 +27,7 @@ test(function testContentType(): void { "text/html; charset=iso-8859-1" ); assertEquals(contentType(".htaccess"), undefined); + assertEquals(contentType("file.ts"), "application/typescript"); }); test(function testExtension(): void { |