[Bug Report]引用的js无法正确识别路径
BnqDzj opened this issue · 1 comments
BnqDzj commented
Describe the bug
在head的base处添加引用 https://hk1.monika.love/PipecraftNet/jsdelivr-auto-fallback/main/index.min.js 时生成的html去请求了/h /t /t /p /s 等
To Reproduce
在_config.yun.yml中配置
head:
css:
js:
base: https://hk1.monika.love/PipecraftNet/jsdelivr-auto-fallback/main/index.min.js
async:
Expected behavior
应该去请求 https://hk1.monika.love/PipecraftNet/jsdelivr-auto-fallback/main/index.min.js 而不是去请求/h /t /t /p /s 等路径
Desktop (please complete the following information):
- OS: Windows 11+ Node.js v18.2.0
- Browser Microsoft Edge 103.0.1255.0
- Version "hexo": "^6.1.0" "hexo-theme-yun": "^1.9.3"
YunYouJun commented
You should use it like this:
head:
js:
base:
- xxx
# not base: xxx