@bakery-framework/cli 2.4.0 → 2.4.2
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/package.json +3 -3
- package/src/worker.ts +3 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bakery-framework/cli",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.2",
|
|
4
4
|
"description": "Bakery entry point and process supervision: mode dispatch, dev watcher, cluster.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"bakery",
|
|
@@ -39,10 +39,10 @@
|
|
|
39
39
|
"bun": ">=1.4.0"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@bakery-framework/core": "^2.4.
|
|
42
|
+
"@bakery-framework/core": "^2.4.2"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
|
-
"@bakery-framework/orm": "^2.4.
|
|
45
|
+
"@bakery-framework/orm": "^2.4.2"
|
|
46
46
|
},
|
|
47
47
|
"peerDependenciesMeta": {
|
|
48
48
|
"@bakery-framework/orm": {
|
package/src/worker.ts
CHANGED
|
@@ -5,6 +5,7 @@ import {
|
|
|
5
5
|
} from '@bakery-framework/core/core/bakery'
|
|
6
6
|
import {
|
|
7
7
|
checkHostMounts,
|
|
8
|
+
checkHosts,
|
|
8
9
|
initConfig,
|
|
9
10
|
resolveHostConfig,
|
|
10
11
|
} from '@bakery-framework/core/core/config'
|
|
@@ -250,8 +251,9 @@ try {
|
|
|
250
251
|
// Before anything binds: a rate limit that cannot mean anything (a refill
|
|
251
252
|
// of 0, a prefix without its slash) stops the boot here, naming the field,
|
|
252
253
|
// in the catch below. So does a host mount (a path without its slash, a
|
|
253
|
-
// pattern with '*' inside a label).
|
|
254
|
+
// pattern with '*' inside a label) and a `domains` entry that is no domain.
|
|
254
255
|
checkRateLimits(Bakery.config)
|
|
256
|
+
checkHosts(Bakery.config)
|
|
255
257
|
checkHostMounts(Bakery.config)
|
|
256
258
|
|
|
257
259
|
Bakery.server = Bun.serve({
|