From dd448c12a6d17d3d7a413f68bbd9e60cad104c23 Mon Sep 17 00:00:00 2001 From: Douglas Heriot Date: Wed, 10 Jun 2020 00:39:56 +1000 Subject: [PATCH] Add source map extension to the admin UI HTTP server. Mime-type application/json seems like a good choice, but doesn't actually matter: https://stackoverflow.com/a/19912684/466698 --- Development/nmos/admin_ui.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Development/nmos/admin_ui.cpp b/Development/nmos/admin_ui.cpp index 09a2cb07e..fdeab8702 100644 --- a/Development/nmos/admin_ui.cpp +++ b/Development/nmos/admin_ui.cpp @@ -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") }