miolo 3.0.0-beta.189 → 3.0.0-beta.190

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "miolo",
3
- "version": "3.0.0-beta.189",
3
+ "version": "3.0.0-beta.190",
4
4
  "description": "all-in-one koa-based server",
5
5
  "author": "Donato Lorenzo <donato@afialapis.com>",
6
6
  "contributors": [
package/src/server.mjs CHANGED
@@ -25,6 +25,11 @@ async function miolo(makeConfig, devInit = undefined, devRender = undefined) {
25
25
  // Init some pieces
26
26
  const config = init_config(makeConfig)
27
27
 
28
+ // Why works here and not in init_headers_middleware
29
+ if (config.http === true) {
30
+ app.proxy = true
31
+ }
32
+
28
33
  // attach to app some custom miolo methods
29
34
  init_context_middleware(app, config)
30
35
 
@@ -45,9 +45,9 @@
45
45
  "intre": "^3.0.0-beta.4",
46
46
  "joi": "^18.1.2",
47
47
  "lucide-react": "^1.14.0",
48
- "miolo-cli": "^3.0.0-beta.189",
48
+ "miolo-cli": "^3.0.0-beta.190",
49
49
  "miolo-model": "file:../miolo-model",
50
- "miolo-react": "^3.0.0-beta.189",
50
+ "miolo-react": "^3.0.0-beta.190",
51
51
  "next-themes": "^0.4.6",
52
52
  "radix-ui": "^1.4.3",
53
53
  "react": "^19.2.5",
@@ -62,7 +62,7 @@
62
62
  },
63
63
  "devDependencies": {
64
64
  "@biomejs/biome": "2.4.14",
65
- "miolo": "^3.0.0-beta.189",
65
+ "miolo": "^3.0.0-beta.190",
66
66
  "sass-embedded": "^1.99.0"
67
67
  },
68
68
  "overrides": {