Skip to content

Commit

Permalink
Fix favicon.ico 404
Browse files Browse the repository at this point in the history
  • Loading branch information
theotherp committed Dec 1, 2024
1 parent 1332446 commit 43e5885
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/src/main/java/org/nzbhydra/web/WebConfiguration.java
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ public void addResourceHandlers(ResourceHandlerRegistry registry) {

registry.addResourceHandler("/bower_components/bootstrap-less/fonts/**")
.addResourceLocations("classpath:/static/fonts/");
registry.addResourceHandler("/favicon.ico")
.addResourceLocations("classpath:/static/favicon.ico");

registry.setOrder(0);
}
Expand Down

0 comments on commit 43e5885

Please sign in to comment.