Skip to content

Commit 17a2f84

Browse files
authored
Source Map Compability (#2207)
1 parent b5f14f1 commit 17a2f84

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Server/mods/deathmatch/logic/CResourceHTMLItem.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,8 @@ void CResourceHTMLItem::GetMimeType(const char* szFilename)
337337
m_strMime = "image/jpg";
338338
else if (strcmp(pExtn, "js") == 0)
339339
m_strMime = "text/javascript";
340+
else if (strcmp(pExtn, "map") == 0)
341+
m_strMime = "application/json";
340342
else
341343
m_strMime = "text/html";
342344
}

0 commit comments

Comments
 (0)