feat(static): 新增静态资源服务

这个提交包含在:
rohow
2025-08-13 16:11:51 +08:00
未验证
父节点 d13bd1ff57
当前提交 ea65547e18
修改 6 个文件,包含 440 行新增180 行删除
+5 -4
查看文件
@@ -1,10 +1,11 @@
{
"imports": {
"@fastify/view": "npm:@fastify/view@^10.0.1",
"@std/path": "jsr:@std/path@^1.0.6",
"fastify": "npm:fastify@^5.0.0",
"@fastify/static": "npm:@fastify/static@^8.2.0",
"@fastify/view": "npm:@fastify/view@^10.0.2",
"@std/path": "jsr:@std/path@^1.1.1",
"fastify": "npm:fastify@^5.5.0",
"handlebars": "npm:handlebars@^4.7.8",
"mime": "npm:mime@^4.0.4"
"mime": "npm:mime@^4.0.7"
},
"tasks": {
"start": "deno run --allow-net --allow-read --allow-sys --allow-env main.ts"