Skip to content
Snippets Groups Projects
Commit 094848d9 authored by Sascha Herzinger's avatar Sascha Herzinger
Browse files

properly resolve resource paths

parent 2ca059fd
No related branches found
No related tags found
2 merge requests!630WIP: Resolve "The privileges of a new user are not saved in some cases",!499Spring config update
Pipeline #7609 failed
This diff is collapsed.
......@@ -17,4 +17,11 @@ public class SpringWebConfig extends WebMvcConfigurerAdapter {
registry.addViewController("/").setViewName("forward:/index.xhtml");
}
@Override
public void addResourceHandlers(ResourceHandlerRegistry registry) {
registry
.addResourceHandler("/resources/**")
.addResourceLocations("/resources/");
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment