Skip to content

Wildcards not working for _someFile.get.json #87

@schroepf

Description

@schroepf

I have a file called _userAccount.get.json living in some/path/any/another/path/_userAccount.get.json

I want this file to be returned as a JSON response when my client accesses http://localhost:3000/some/path/12345/another/path/userAccount but with canned 0.3.7 this doesn't work. Canned logs: request: get /some/path/12345/another/path/userAccount not found

If I move the file to some/path/any/another/path/userAccount/index.get.json and access http://localhost:3000/some/path/12345/another/path/userAccount/ from the client the expected JSON is returned.

So it seems like the any wildcard is working for index.get.json files, but not for _anyFileName.get.json files.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions