Spring Boot app deployed to Heroku doesn't locate its' thymeleaf views

Viewed 1960

My Spring Boot app runs perfectly at localhost but when I'm deploying it to Heroku, my app's controller stops seeing the views which are normally located at /templates/ directory. Why does this happen? How can I be sure that heroku actually uploads and compiles my views? If it does, should I change actual values of @RequestMapping of my @Controller class in order to make them reachable when they are at heroku?

You can find my whole working webapp here: https://github.com/slavicketernity/testik56

Here is my uploaded and runnung app: https://testik56app.herokuapp.com/login

2 Answers
Related