Health-UI call the wrong URL for health
### Describe the bug

I have this dependency in my pom.xml (Quarkus 2.4.2.Final)
````
<dependency>
            <groupId>io.quarkus</groupId>
            <artifactId>quarkus-smallrye-health</artifactId>
        </dependency>
````


if I enter this url : http://localhost:8080/q/health


I'll obtain this
````
{
    "status": "UP",
    "checks": [
        {
            "name": "SmallRye Reactive Messaging - liveness check",
            "status": "UP",
            "data": {
                "cleanupjob": "[OK]",
                "cleanupjob-completed": "[OK]"
            }
        },
        {
            "name": "SmallRye Reactive Messaging - readiness check",
            "status": "UP",
            "data": {
                "cleanupjob": "[OK]",
                "cleanupjob-completed": "[OK]"
            }
        },
        {
            "name": "SmallRye Reactive Messaging - startup check",
            "status": "UP",
            "data": {
                "cleanupjob": "[OK]",
                "cleanupjob-completed": "[OK]"
            }
        }
    ]
}
````
but if I enter this : http://localhost:8080/q/health-ui/

I'll obtain this error

Why the url in the UI is trying to retreive this http://localhost:8080/health instead of http://localhost:8080/q/health

### Expected behavior

_No response_

### Actual behavior

_No response_

### How to Reproduce?

````
mvn io.quarkus.platform:quarkus-maven-plugin:2.4.2.Final:create \\
    -DprojectGroupId=org.acme \\
    -DprojectArtifactId=microprofile-health-quickstart \\
    -Dextensions="smallrye-health"
cd microprofile-health-quickstart
mvn clean quarkus:dev

http://localhost:8080/q/health/ -> works
http://localhost:8080/q/health-ui/ -> fails
````

### Output of `uname -a` or `ver`

_No response_

### Output of `java -version`

_No response_

### GraalVM version (if different from Java)

_No response_

### Quarkus version or git rev

_No response_

### Build tool (ie. output of `mvnw --version` or `gradlew --version`)

_No response_

### Additional information

_No response_
diff --git a/extensions/smallrye-health/deployment/src/main/java/io/quarkus/smallrye/health/deployment/SmallRyeHealthProcessor.java b/extensions/smallrye-health/deployment/src/main/java/io/quarkus/smallrye/health/deployment/SmallRyeHealthProcessor.java
index 50b44d76a96..12802c0613a 100644
--- a/extensions/smallrye-health/deployment/src/main/java/io/quarkus/smallrye/health/deployment/SmallRyeHealthProcessor.java
+++ b/extensions/smallrye-health/deployment/src/main/java/io/quarkus/smallrye/health/deployment/SmallRyeHealthProcessor.java
@@ -414,10 +414,10 @@ void registerUiExtension(
             NonApplicationRootPathBuildItem nonApplicationRootPathBuildItem,
             SmallRyeHealthConfig healthConfig,
             CurateOutcomeBuildItem curateOutcomeBuildItem,
-            LaunchModeBuildItem launchMode,
+            LaunchModeBuildItem launchModeBuildItem,
             LiveReloadBuildItem liveReloadBuildItem) throws Exception {
 
-        if (shouldInclude(launchMode, healthConfig)) {
+        if (shouldInclude(launchModeBuildItem, healthConfig)) {
 
             if ("/".equals(healthConfig.ui.rootPath)) {
                 throw new ConfigurationException(
@@ -431,11 +431,12 @@ void registerUiExtension(
             ResolvedDependency artifact = WebJarUtil.getAppArtifact(curateOutcomeBuildItem, HEALTH_UI_WEBJAR_GROUP_ID,
                     HEALTH_UI_WEBJAR_ARTIFACT_ID);
 
-            if (launchMode.getLaunchMode().isDevOrTest()) {
-                Path tempPath = WebJarUtil.copyResourcesForDevOrTest(liveReloadBuildItem, curateOutcomeBuildItem, launchMode,
+            if (launchModeBuildItem.getLaunchMode().isDevOrTest()) {
+                Path tempPath = WebJarUtil.copyResourcesForDevOrTest(liveReloadBuildItem, curateOutcomeBuildItem,
+                        launchModeBuildItem,
                         artifact,
                         HEALTH_UI_WEBJAR_PREFIX);
-                if (launchMode.equals(LaunchMode.DEVELOPMENT)) {
+                if (launchModeBuildItem.getLaunchMode().equals(LaunchMode.DEVELOPMENT)) {
                     updateApiUrl(tempPath.resolve(JS_FILE_TO_UPDATE), healthPath);
                     updateApiUrl(tempPath.resolve(INDEX_FILE_TO_UPDATE), healthPath);
                 }
@@ -445,7 +446,7 @@ void registerUiExtension(
 
                 // Handle live reload of branding files
                 if (liveReloadBuildItem.isLiveReload() && !liveReloadBuildItem.getChangedResources().isEmpty()) {
-                    WebJarUtil.hotReloadBrandingChanges(curateOutcomeBuildItem, launchMode, artifact,
+                    WebJarUtil.hotReloadBrandingChanges(curateOutcomeBuildItem, launchModeBuildItem, artifact,
                             liveReloadBuildItem.getChangedResources());
                 }
             } else {
['extensions/smallrye-health/deployment/src/main/java/io/quarkus/smallrye/health/deployment/SmallRyeHealthProcessor.java']