mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +08:00
ui-next: use route name
This commit is contained in:
1 file changed
+1
-1
@@ -86,7 +86,7 @@ export async function apply(ctx: Context) {
|
||||
async render(name, args, context) {
|
||||
const data: PageData = {
|
||||
HYDRO_INJECTED: true,
|
||||
name,
|
||||
name: context.handler.context._matchedRouteName,
|
||||
args,
|
||||
url: context.handler.context.req.url!,
|
||||
routeMap: ctx.server.routeMap,
|
||||
|
||||
Reference in new issue
Block a user