I made my own rest api and now it just has endpoint where I show some images. Here how it looks in spring boot application
@GetMapping(\"/image/{name:.+}\")
Add to gradle annotationProcessor 'com.github.bumptech.glide:compiler:4.7.1'
annotationProcessor 'com.github.bumptech.glide:compiler:4.7.1'