Open towardsfuture opened 6 years ago
Correct. Is there a an error in the text somewhere?
Because the new angular compiled file's name not composed with 'bundle' any more.
That seems like a different issue?
Yes,it cause by the new angular version.
Just update the method ignoring static resources from authentication to:
@Override
public void configure(WebSecurity web) throws Exception {
web.ignoring().antMatchers("/favicon.ico",
"/polyfills.js*",
"/runtime.js*",
"/styles.js*",
"/scripts.js",
"/main.js*",
"/vendor.js*"
);
}
While request static js&css(eg. main.js,polyfills.js etc) from ui. The url of main.js is not 'http://localhost:8080/ui/main.js' but 'http://localhost:8080/main.js'.