@ubean/routes 0.3.2 → 0.3.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/dist/index.js +1 -1
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -1191,7 +1191,7 @@ async function registerPageRoutes(app, options) {
|
|
|
1191
1191
|
component: page.reuseTarget || page.name,
|
|
1192
1192
|
props,
|
|
1193
1193
|
params: c.req.param(),
|
|
1194
|
-
url:
|
|
1194
|
+
url: c.req.path + (c.req.url.includes("?") ? new URL(c.req.url).search : ""),
|
|
1195
1195
|
layout: page.layout === false ? false : page.layout || page.pageMeta?.layout || (hasDefaultLayout ? "default" : false),
|
|
1196
1196
|
errors: actionErrors,
|
|
1197
1197
|
head: page.pageMeta?.head
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ubean/routes",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.4",
|
|
4
4
|
"description": "Server routes runtime for ubean (defineHandler, defineMiddleware, registerRoutes, Server Actions, rou3 server router, route rules, ISR, internal-fetch, OpenAPI)",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -24,23 +24,23 @@
|
|
|
24
24
|
"@soybeanjs/fetch": "^0.1.0",
|
|
25
25
|
"@standard-community/standard-json": "^0.3.5",
|
|
26
26
|
"@standard-community/standard-openapi": "^0.2.9",
|
|
27
|
-
"@ubean/i18n": "0.3.
|
|
28
|
-
"@ubean/shared": "0.3.
|
|
27
|
+
"@ubean/i18n": "0.3.4",
|
|
28
|
+
"@ubean/shared": "0.3.4",
|
|
29
29
|
"hono": "4.13.5",
|
|
30
30
|
"hono-openapi": "^1.3.1",
|
|
31
31
|
"rou3": "^0.9.2"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@types/node": "^26.4.0",
|
|
35
|
-
"@ubean/pages": "0.3.
|
|
36
|
-
"@ubean/scan": "0.3.
|
|
35
|
+
"@ubean/pages": "0.3.4",
|
|
36
|
+
"@ubean/scan": "0.3.4",
|
|
37
37
|
"typescript": "7.0.2",
|
|
38
38
|
"vite-plus": "0.3.0",
|
|
39
39
|
"vue": "^3.5.42"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
|
-
"@ubean/pages": "0.3.
|
|
43
|
-
"@ubean/scan": "0.3.
|
|
42
|
+
"@ubean/pages": "0.3.4",
|
|
43
|
+
"@ubean/scan": "0.3.4",
|
|
44
44
|
"vue": "^3.0.0"
|
|
45
45
|
},
|
|
46
46
|
"peerDependenciesMeta": {
|