Skip to content

Commit 2030c85

Browse files
author
p01
committed
Fixed extension lookup in the type guessing of application/octet-stream resources
1 parent e371ac6 commit 2030c85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/resource-manager/resource_service.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ cls.ResourcePrototype = function()
525525
{
526526
if (this.mime.toLowerCase() == "application/octet-stream")
527527
{
528-
this.type = cls.ResourceUtil.extension_type_map[this.url.extension];
528+
this.type = cls.ResourceUtil.extension_type_map[this.extension];
529529
}
530530
if (!this.type)
531531
{

0 commit comments

Comments
 (0)