feat(资源处理): 添加无扩展名和根路径资源的处理逻辑

- 无扩展名资源根据类型自动补全.css或.js扩展名
- 根路径资源使用主机名作为首层目录避免跨域冲突
- 更新README文档说明新增规则
This commit is contained in:
2025-12-12 00:11:19 +08:00
parent 471ed156af
commit eaf547981b
4 changed files with 103 additions and 4 deletions

View File

@@ -3,4 +3,5 @@
# Bootstrap 5.3.0 样式与脚本
https://cdn.jsdmirror.com/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css
https://cdn.jsdmirror.com/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js
https://cdn.jsdmirror.com/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js
https://cdn.tailwindcss.com