D
Deno
Oak: Remove HTML extensions when serving files - Deno
C
Deno
β’
3y ago
β’
2 replies
cxx
Oak: Remove HTML extensions when serving files
Using Oak
, how can I serve
home.html
home.html
as
/home
/home
(or
/home/
/home/
)
. I
'm aware that
Context#send
Context#send
exists but I
'm not sure if it
'll work with my use case
.
Thanks in advance
!
Deno
Join
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Trouble with serving HTMl on localhost
οΏ½
ππΈβπΎπΌπ π»ππππ½πΈβπΌππ΅πΈ / help
2y ago
Serving multiple static files to an HTTP request
Z
Zidan / help
3y ago
HTTPS Oak Deno
I
ivandpf / help
3y ago