Skip to content

Commit bfdcb0f

Browse files
committed
fix missing info page on server root
1 parent 057da86 commit bfdcb0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/edu/kit/scc/dem/wapsrv/controller/CatchAllController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public class CatchAllController extends BasicController {
4747
* @throws WapException
4848
* in case any error occurs
4949
*/
50-
@RequestMapping(value = "/{[path:[^\\.]*}")
50+
@RequestMapping(value = { "/", "/{path:[^\\.]*}" })
5151
public ResponseEntity<?> catchallRequest(HttpServletRequest request, @RequestHeader HttpHeaders headers)
5252
throws WapException {
5353
// The basic idea is that all "real" controllers just intercept those messages

0 commit comments

Comments
 (0)