File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
gxspringboot/src/main/java/com/genexus/springboot Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,9 @@ public void addResourceHandlers(ResourceHandlerRegistry registry) {
46
46
registry .addResourceHandler (webImageDir + "**" )
47
47
.addResourceLocations ("classpath:" + webImageDir );
48
48
49
+ registry .addResourceHandler ("/_ng/**" )
50
+ .addResourceLocations ("classpath:/ng/" );
51
+
49
52
registry .addResourceHandler ("/" + blobPath + "/**" )
50
53
.addResourceLocations ("file:./" + blobPath + "/" );
51
54
}
@@ -71,6 +74,7 @@ public FilterRegistrationBean<UrlRewriteFilter> urlRewriteFilter() {
71
74
if (new ClassPathResource (REWRITE_FILE ).exists ()) {
72
75
registrationBean .addInitParameter ("modRewriteConf" , "true" );
73
76
registrationBean .addInitParameter ("confPath" , REWRITE_FILE );
77
+ registrationBean .setOrder (org .springframework .core .Ordered .HIGHEST_PRECEDENCE );
74
78
}
75
79
else {
76
80
registrationBean .setEnabled (false );
You can’t perform that action at this time.
0 commit comments