0
0
mirror of https://github.com/honojs/hono.git synced 2024-11-24 02:07:30 +01:00
hono/runtime-tests/bun
Yusuke Wada 246a06aa1d
feat(serve-static): support absolute root (#3420)
* feat(serve-static): support absolute root

* add bun runtime test

* don't use `Request`

* add code for deno

* remove unnecessay `console.log`

* use `normalizeFilePath` instead of `URL`

* use `URL` for `options.root`

* don't allow directory traversal and fix the behavior when root including `../`
2024-09-24 12:23:35 +09:00
..
.static chore: rename runtime_tests to runtime-tests (#3419) 2024-09-17 14:51:43 +09:00
static chore: rename runtime_tests to runtime-tests (#3419) 2024-09-17 14:51:43 +09:00
static-absolute-root feat(serve-static): support absolute root (#3420) 2024-09-24 12:23:35 +09:00
favicon.ico chore: rename runtime_tests to runtime-tests (#3419) 2024-09-17 14:51:43 +09:00
index.test.tsx feat(serve-static): support absolute root (#3420) 2024-09-24 12:23:35 +09:00
vitest.config.ts chore: rename runtime_tests to runtime-tests (#3419) 2024-09-17 14:51:43 +09:00