mirror of https://github.com/halo-dev/halo
![]() #### What type of PR is this? /kind bug /area core /milestone 2.17.x #### What this PR does / why we need it: When initialized for the first time, the folder `${halo.work-dir}/themes` does not exist, resulting in the `themes` path being ignored when invoking `themeRootResource.createRelative(themeName + "/templates/assets/");`. It works very well after restarting. This PR fixes the problem by resolving theme resource directly rather than delegating to PathResourceResolver. #### Which issue(s) this PR fixes: Fixes #6048 #### Does this PR introduce a user-facing change? ```release-note 修复首次初始化后无法正常访问主题资源的问题 ``` |
||
---|---|---|
.. | ||
src | ||
build.gradle |