summaryrefslogtreecommitdiff
path: root/include/webassets.hpp
diff options
context:
space:
mode:
authorGunnar Mills <gmills@us.ibm.com>2021-03-15 20:29:30 +0300
committerEd Tanous <ed@tanous.net>2021-03-19 00:25:48 +0300
commitfbcc252da12a6e614588426d5e61f0b1948859b4 (patch)
tree0ac5566e6ad3f9dc41ed49e690aa1cd0cea5016a /include/webassets.hpp
parent7ea79e5e15814eb8566f3e6799f2d7eee23527a6 (diff)
downloadbmcweb-fbcc252da12a6e614588426d5e61f0b1948859b4.tar.xz
Remove duplicate entry in array
json was already in the array. Tested: GUI worked in the top commit. Change-Id: Iac97801489e1bd03a91a613e7b33a777867bd165 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
Diffstat (limited to 'include/webassets.hpp')
-rw-r--r--include/webassets.hpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/webassets.hpp b/include/webassets.hpp
index a4ec58b07d..97a0194b61 100644
--- a/include/webassets.hpp
+++ b/include/webassets.hpp
@@ -45,7 +45,6 @@ inline void requestRoutes(App& app)
{".json", "application/json"},
{".jpg", "image/jpeg"},
{".jpeg", "image/jpeg"},
- {".json", "application/json"},
// dev tools don't care about map type, setting to json causes
// browser to show as text
// https://stackoverflow.com/questions/19911929/what-mime-type-should-i-use-for-javascript-source-map-files