Skip to content

Commit c264d64

Browse files
sanjuthomasvietj
authored andcommitted
chore!: removing the deprecated api in favor of latest
router.mountSubRouter("/eventbus", subRouter); To router.route("/eventbus/*").subRouter(subRouter);
1 parent 13877de commit c264d64

File tree

1 file changed

+1
-1
lines changed
  • web-examples/src/main/java/io/vertx/example/web/realtime

1 file changed

+1
-1
lines changed

web-examples/src/main/java/io/vertx/example/web/realtime/Server.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public void start() throws Exception {
4343
event.complete(true);
4444

4545
});
46-
router.mountSubRouter("/eventbus", subRouter);
46+
router.route("/eventbus/*").subRouter(subRouter);
4747

4848

4949
// Serve the static resources

0 commit comments

Comments
 (0)