Skip to content
This repository was archived by the owner on Jul 31, 2025. It is now read-only.
This repository was archived by the owner on Jul 31, 2025. It is now read-only.

Bug: doesn't match wares containing base path #20

@talentlessguy

Description

@talentlessguy

Reproduction:

import { makeFetch } from 'https://deno.land/x/superfetch@1.0.6/mod.ts'

const app = new App()

app.use('/abc', (_req, res) => void res.end('Hello world'))
;(await makeFetch(app.handler)('/abc/def')).expectStatus(200).expectBody(
  'Hello world',
)
;(await makeFetch(app.handler)('/abcdef')).expect(404)

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