@cocreate/lazy-loader 1.20.3 → 1.20.4
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.20.4](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.20.3...v1.20.4) (2024-06-30)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* comment typo ([ceebdfb](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/ceebdfbf85267a32175db7fa83e25a1594983448))
|
|
7
|
+
|
|
1
8
|
## [1.20.3](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.20.2...v1.20.3) (2024-06-23)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
package/src/server.js
CHANGED
|
@@ -58,7 +58,7 @@ class CoCreateLazyLoader {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
if (valideUrl.pathname.startsWith('/webhooks/')) {
|
|
61
|
-
let name = req.url.split('/')[2]; // Assuming URL structure is /
|
|
61
|
+
let name = req.url.split('/')[2]; // Assuming URL structure is /webhooks/name/...
|
|
62
62
|
if (this.modules[name]) {
|
|
63
63
|
this.executeScriptWithTimeout(name, { req, res, host: hostname, organization, valideUrl, organization_id: organization._id })
|
|
64
64
|
} else {
|