@@ -0,0 +1,361 @@
+package urchin;%0A%0Aimport org.springframework.stereotype.Controller;%0Aimport org.springframework.web.bind.annotation.RequestMapping;%0A%0A@Controller%0Apublic class FrontendHandler %7B%0A%0A    // Match everything without a suffix (so not a static resource)%0A    @RequestMapping(value = %22/**/%7B%5Bpath:%5B%5E%5C%5C.%5D*%7D%22)%0A    public String redirect() %7B%0A        return %22forward:/%22;%0A    %7D%0A%7D%0A

handle frontend requests properly according to https://stackoverflow.com/questions/43913753/spring-boot-with-redirecting-with-single-page-angular2