@cocreate/file-server 1.0.17 → 1.0.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [1.0.18](https://github.com/CoCreate-app/CoCreate-file-server/compare/v1.0.17...v1.0.18) (2022-12-05)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * testing ([7a1ce15](https://github.com/CoCreate-app/CoCreate-file-server/commit/7a1ce15a12057260eeb9f121fdc21a26ca22df4d))
7
+
1
8
  ## [1.0.17](https://github.com/CoCreate-app/CoCreate-file-server/compare/v1.0.16...v1.0.17) (2022-12-05)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/file-server",
3
- "version": "1.0.17",
3
+ "version": "1.0.18",
4
4
  "description": "A simple file-server component in vanilla javascript. Easily configured using HTML5 data-attributes and/or JavaScript API.",
5
5
  "keywords": [
6
6
  "file-server",
package/src/index.js CHANGED
@@ -99,6 +99,7 @@ class CoCreateFileSystem {
99
99
  'Content-Type': contentType,
100
100
  'Content-Length': file.length
101
101
  });
102
+ console.log('before media', contentType)
102
103
  res.send(file);
103
104
  } else if (contentType === 'text/html') {
104
105
  try {