{build,wasmserve}: show error on browser + improvements
This commit is contained in:
parent
5be9f04d85
commit
aaddd4dbeb
5 changed files with 522 additions and 25 deletions
|
|
@ -15,7 +15,7 @@ pub const mime_list = [_]struct { ext: []const []const u8, mime: []const u8 }{
|
|||
.{ .ext = &.{".ico"}, .mime = "image/vnd.microsoft.icon" },
|
||||
.{ .ext = &.{".ics"}, .mime = "text/calendar" },
|
||||
.{ .ext = &.{".jar"}, .mime = "application/java-archive" },
|
||||
.{ .ext = &.{ "..jpeg", "..jpg" }, .mime = "image/jpeg" },
|
||||
.{ .ext = &.{ ".jpeg", ".jpg" }, .mime = "image/jpeg" },
|
||||
.{ .ext = &.{".js"}, .mime = "text/javascript" },
|
||||
.{ .ext = &.{".json"}, .mime = "application/json" },
|
||||
.{ .ext = &.{".md"}, .mime = "text/x-markdown" },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue