@cocreate/file-server 1.0.8 → 1.0.9

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.9](https://github.com/CoCreate-app/CoCreate-file-server/compare/v1.0.8...v1.0.9) (2022-12-05)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * send html and organization_id to render.HTML ([a11390b](https://github.com/CoCreate-app/CoCreate-file-server/commit/a11390be2c40cdead9eaeab253c11477cafe21f7))
7
+
1
8
  ## [1.0.8](https://github.com/CoCreate-app/CoCreate-file-server/compare/v1.0.7...v1.0.8) (2022-12-04)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/file-server",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
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
@@ -100,7 +100,7 @@ class CoCreateFileSystem {
100
100
  }
101
101
  else if (content_type === 'text/html') {
102
102
  try {
103
- let fullHtml = await render.html(orgDB, src);
103
+ let fullHtml = await render.HTML(src, organization_id);
104
104
  res.type(content_type);
105
105
  res.send(fullHtml);
106
106
  }