Teodor7
(Teodor Iancu)
1
I use Backery App for an Exercise App, is work well but after successful login is come every time a different plain CSS text like this:
Browser Link: http://localhost:8080/styles/views/view-frame.css
After deleting styles/views/view-frame.css from link than work fine.
Any idea?
.view-frame {
display: flex;
flex-direction: column;
flex-grow: 1;
overflow: hidden;
}
.view-frame__header {
z-index: 2;
}
.view-frame__wrapper {
display: flex;
flex: 1;
overflow: hidden;
}
.view-frame__content {
flex: 1;
overflow-x: hidden;
overflow-y: auto;
position: relative;
-webkit-overflow-scrolling: touch;
}
.view-frame__footer {
z-index: 2;
}
Teodor7
(Teodor Iancu)
2
The solution was to add to SecurityConfiguration following:
“/styles/”,
“/bower_components/”,
“/css/”,
@Override
public void configure(WebSecurity web) throws Exception {
web.ignoring().antMatchers(
// Vaadin Flow static resources
"/build/**",
"/VAADIN/**",
// the standard favicon URI
"/favicon.ico",
// the robots exclusion standard
"/robots.txt",
// web application manifest
"/manifest.webmanifest",
"/sw.js",
"/offline-page.html",
// icons and images
"/icons/**",
"/images/**",
// (development mode) static resources
"/frontend/**",
// (development mode) webjars
"/webjars/**",
//
"/styles/**",
//
"/bower_components/**",
//
"/css/**"