Mount SockJS bridges kept in a variable as sub-routers
ProprietarySince Vert.x 4 SockJSHandler.bridge(..) returns a sub-router to mount rather than configuring the handler. sockJSHandler.bridge(options); followed by route.handler(sockJSHandler); becomes route.subRouter(sockJSHandler.bridge(options));, and a SockJSHandler variable initialized with bridge(..) becomes a Router mounted with subRouter(..).
io. moderne. vertx. MigrateSockJSBridgeVariablesmod run . --recipe= io. moderne. vertx. MigrateSockJSBridgeVariablesInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.