miolo 3.0.0-beta.187 → 3.0.0-beta.188
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
|
@@ -56,10 +56,15 @@ const init_headers_middleware = (app, http) => {
|
|
|
56
56
|
})
|
|
57
57
|
|
|
58
58
|
_if_options(http, "proxy", (options) => {
|
|
59
|
-
|
|
60
|
-
|
|
59
|
+
if (options === true) {
|
|
60
|
+
app.proxy = true
|
|
61
|
+
logger.debug(`[http] Setting Proxy to true`)
|
|
62
|
+
} else {
|
|
63
|
+
const [tpath, toptions] = _proxy_options(options)
|
|
64
|
+
logger.debug(`[http] Setting Proxy for ${tpath} to ${toptions.target} `)
|
|
61
65
|
|
|
62
|
-
|
|
66
|
+
app.use(koa_proxy(tpath, toptions))
|
|
67
|
+
}
|
|
63
68
|
})
|
|
64
69
|
}
|
|
65
70
|
|
package/template/package.json
CHANGED
|
@@ -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.
|
|
48
|
+
"miolo-cli": "^3.0.0-beta.188",
|
|
49
49
|
"miolo-model": "file:../miolo-model",
|
|
50
|
-
"miolo-react": "^3.0.0-beta.
|
|
50
|
+
"miolo-react": "^3.0.0-beta.188",
|
|
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.
|
|
65
|
+
"miolo": "^3.0.0-beta.188",
|
|
66
66
|
"sass-embedded": "^1.99.0"
|
|
67
67
|
},
|
|
68
68
|
"overrides": {
|