Merge branch 'main' into skottie_test
diff --git a/images/index.js b/images/index.js
index a38be9d..c8d68f1 100644
--- a/images/index.js
+++ b/images/index.js
@@ -140,13 +140,13 @@
})();
const getContentTypeHeader = (() => {
- const encodingMap = {
+ const contentTypeMap = {
js: { 'Content-Type': 'application/javascript' },
json: { 'Content-Type': 'application/json' },
html: { 'Content-Type': 'text/html; charset=utf-8' },
wasm: { 'Content-Type': 'application/wasm' },
};
- return (fileType) => encodingMap[fileType];
+ return (fileType) => contentTypeMap[fileType];
})();
const startServer = async () => {