Guangcong Luo
d0e1c7a1a9
Suppress console output
2025-07-23 21:10:45 -07:00
Guangcong Luo
42b4dccae4
Fix HEAD requests
2025-07-23 18:43:14 -07:00
Guangcong Luo
5f06cdf622
Minor fixes
2025-07-23 17:40:50 -07:00
Guangcong Luo
ba1e7458bf
Misc refactors
2025-07-23 13:28:09 -07:00
Guangcong Luo
e338ce4313
Annotate mime types with utf-8
...
(Thanks @DieterReinert)
2025-07-23 13:28:07 -07:00
Guangcong Luo
c721409fe6
More MIME types
...
Co-authored-by: Slayer95 <ivojulca@hotmail.com >
2025-07-23 13:06:01 -07:00
Guangcong Luo
f6fc8cc03b
Support HEAD requests part 2
...
Co-authored-by: Slayer95 <ivojulca@hotmail.com >
2025-07-23 05:09:44 -07:00
Guangcong Luo
168fd7a3c9
Remove unused function params
2025-07-23 05:06:23 -07:00
Guangcong Luo
0bc33e24b9
Support HEAD requests
...
Co-authored-by: Slayer95 <ivojulca@hotmail.com >
2025-07-23 05:01:39 -07:00
Guangcong Luo
458c26c83b
Properly type Options
2025-07-23 02:46:44 -07:00
Guangcong Luo
a7378ce470
Remove weird unused directory streaming feature
...
This comes from:
9c3f819abb
And I have no clue what it does but it's never been documented so
presumably it's never been used. It takes up wayy too much code
complexity for an undocumented feature that we'll never use, so out it
goes.
2025-07-23 02:42:38 -07:00
Guangcong Luo
299dd767dd
Fix double-send bug in certain error conditions
...
This appears to be a bug in upstream node-static. This fix also means
we're passing around Results rather than tuples, which makes some
function signatures notable simpler.
2025-07-23 02:27:36 -07:00
Guangcong Luo
4fc3ed81ee
Refactor to Promises
2025-07-23 02:02:29 -07:00
Guangcong Luo
340c863dec
Lint
2025-07-22 21:57:29 -07:00
Guangcong Luo
7a161108b1
TypeScript vendored node-static
2025-07-22 21:57:07 -07:00
Guangcong Luo
62a899b4e4
Vendor node-static
2025-07-22 21:55:59 -07:00