Skip to content

app.use(handle),When I don't add the prefix path /admin/*, /admin in withBase does not take effect #976

Open
@donywan

Description

@donywan

Environment

package.json

"h3-nightly": "2.0.0-20250218-184950-b59fd5f",

Reproduction

donywan/h3-template

Describe the bug

server.use(withBase('/admin', adminRoutes));

http://localhost:3000/user is work and http://localhost:3000/admin/user also is work.

Additional context

No response

Logs

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions