We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 057da86 commit bfdcb0fCopy full SHA for bfdcb0f
src/main/java/edu/kit/scc/dem/wapsrv/controller/CatchAllController.java
@@ -47,7 +47,7 @@ public class CatchAllController extends BasicController {
47
* @throws WapException
48
* in case any error occurs
49
*/
50
- @RequestMapping(value = "/{[path:[^\\.]*}")
+ @RequestMapping(value = { "/", "/{path:[^\\.]*}" })
51
public ResponseEntity<?> catchallRequest(HttpServletRequest request, @RequestHeader HttpHeaders headers)
52
throws WapException {
53
// The basic idea is that all "real" controllers just intercept those messages
0 commit comments