@cocreate/lazy-loader 1.11.0 → 1.11.1
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 +7 -0
- package/package.json +1 -1
- package/src/server.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [1.11.1](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.11.0...v1.11.1) (2023-12-09)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* hosts.get() converted to object ([c21187b](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/c21187ba2209bae5565078cd8fb1a7fea0b22b4c))
|
|
7
|
+
|
|
1
8
|
# [1.11.0](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.10.0...v1.11.0) (2023-12-09)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
package/src/server.js
CHANGED
|
@@ -53,7 +53,7 @@ class CoCreateLazyLoader {
|
|
|
53
53
|
const valideUrl = new URL(`http://${req.headers.host}${req.url}`);
|
|
54
54
|
const hostname = valideUrl.hostname;
|
|
55
55
|
|
|
56
|
-
let organization = hosts
|
|
56
|
+
let organization = hosts[hostname];
|
|
57
57
|
if (!organization) {
|
|
58
58
|
let org = await this.crud.send({
|
|
59
59
|
method: 'object.read',
|