Commit f6de589
committed
fix: 修复 ServeDir 的 not_found_service 方法调用
ServeDir 的 not_found_service 方法已更改为 fallback 方法,以正确处理找不到的文件时的回退服务。这将确保在用户请求的文件不存在时,会返回默认的 index.html 文件。1 parent 45f772d commit f6de589
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
150 | | - | |
| 150 | + | |
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
| |||
0 commit comments