Skip to content

Commit

Permalink
Add source map extension to the admin UI HTTP server.
Browse files Browse the repository at this point in the history
Mime-type application/json seems like a good choice, but doesn't actually matter:
https://stackoverflow.com/a/19912684/466698
  • Loading branch information
DouglasHeriot committed Jun 9, 2020
1 parent f5dce9d commit dd448c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Development/nmos/admin_ui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ namespace nmos
{ U("ico"), U("image/x-icon") },
{ U("html"), U("text/html") },
{ U("js"), U("application/javascript") },
{ U("map"), U("application/json") },
{ U("json"), U("application/json") },
{ U("css"), U("text/css") },
{ U("png"), U("image/png") }
Expand Down

0 comments on commit dd448c1

Please sign in to comment.