Skip to content

Commit

Permalink
Merge pull request langhsu#19 from saxingz/patch-3
Browse files Browse the repository at this point in the history
主题管理图片路径显示错误
  • Loading branch information
langhsu authored Apr 7, 2019
2 parents d905dd0 + d917551 commit f30941c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public String getName() {
@Override
public void execute(DirectiveHandler handler) throws Exception {
String src = handler.getString("src", "#");
if (src.startsWith("/storage")) {
if (src.startsWith("/storage") || src.startsWith("/theme")) {
String base = handler.getContextPath();
handler.renderString(base + src);
} else {
Expand Down

0 comments on commit f30941c

Please sign in to comment.