Support for file extension in route/URL like /humans.txt #8718
-
Migrating from nextjs I'd like to keep a humans.txt around my website root. I read trough the docs but all I see are routes without extensions. How would one create such route and keep the |
Beta Was this translation helpful? Give feedback.
Answered by
thinkafterbefore
Feb 8, 2024
Replies: 1 comment 5 replies
-
Simply put the file extension in brackets like this |
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
pke
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Simply put the file extension in brackets like this
robots[.txt].ts