but renaming directory to app/routes/well-known/security.txt.tsx (removing . from well-known) and accessing https://host.example/well-known/security.txt returns 200 as expected.
It seems that, name based routing failed with prefix of . for well-known.
What version of HonoX are you using?
0.1.17
What steps can reproduce the bug?
create
app/routes/.well-known/security.txt.tsx
as belowand access to https://host.example/.well-known/security.txt returns 404
but renaming directory to
app/routes/well-known/security.txt.tsx
(removing.
fromwell-known
) and accessinghttps://host.example/well-known/security.txt
returns 200 as expected.It seems that, name based routing failed with prefix of
.
forwell-known
.FYI:
.well-known/
is important path for serving various of standard defined files. https://www.iana.org/assignments/well-known-uris/well-known-uris.xhtmlWhat is the expected behavior?
No response
What do you see instead?
No response
Additional information
No response